Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine") translateModel(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.564/0.564, allocations: 95.58 MB / 366 MB, free: 10.41 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005366/0.0005367, allocations: 16 kB / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2791, allocations: 70.33 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine): time 0.1323/0.4115, allocations: 126.3 MB / 0.6283 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2746/0.6861, allocations: 2.262 MB / 0.6305 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007545/0.687, allocations: 17.28 kB / 0.6306 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009876/0.688, allocations: 184.3 kB / 0.6307 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.6893, allocations: 387.7 kB / 0.6311 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.6914, allocations: 0.595 MB / 0.6317 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.6931, allocations: 0.6355 MB / 0.6323 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008561/0.694, allocations: 312.2 kB / 0.6326 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.695, allocations: 350 kB / 0.6329 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000821/0.6959, allocations: 323 kB / 0.6332 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.696, allocations: 27.34 kB / 0.6333 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.6976, allocations: 478.9 kB / 0.6337 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.6978, allocations: 113.5 kB / 0.6338 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.6982, allocations: 126.8 kB / 0.634 GB, free: 17.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.6993, allocations: 0.6019 MB / 0.6345 GB, free: 17.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.6993, allocations: 0.75 kB / 0.6345 GB, free: 17.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6993, allocations: 0 / 0.6345 GB, free: 17.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.6994, allocations: 0 / 0.6345 GB, free: 17.53 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001602/0.701, allocations: 0.8278 MB / 0.6354 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.701, allocations: 14.06 kB / 0.6354 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.7014, allocations: 70.53 kB / 0.6354 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006577/0.702, allocations: 406.4 kB / 0.6358 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.7021, allocations: 28.91 kB / 0.6359 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/0.7022, allocations: 42.88 kB / 0.6359 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009389/0.7031, allocations: 466.6 kB / 0.6363 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.7031, allocations: 0 / 0.6363 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.7032, allocations: 20.44 kB / 0.6364 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.7032, allocations: 9.062 kB / 0.6364 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.7039, allocations: 347.2 kB / 0.6367 GB, free: 16.58 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.7068, allocations: 1.684 MB / 0.6383 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.7074, allocations: 348.8 kB / 0.6387 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007887/0.7082, allocations: 0.6995 MB / 0.6394 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005054/0.7088, allocations: 270.9 kB / 0.6396 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.073e-06/0.7088, allocations: 3.344 kB / 0.6396 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001109/0.7099, allocations: 0.5007 MB / 0.6401 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.71, allocations: 217.3 kB / 0.6403 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.7106, allocations: 444.1 kB / 0.6407 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/0.7107, allocations: 39.2 kB / 0.6408 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.7109, allocations: 268.7 kB / 0.641 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/0.711, allocations: 103.5 kB / 0.6411 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.711, allocations: 9.75 kB / 0.6411 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.7112, allocations: 361.4 kB / 0.6415 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.7116, allocations: 163.1 kB / 0.6416 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.712, allocations: 333.2 kB / 0.642 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.7123, allocations: 205.6 kB / 0.6422 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7123, allocations: 0.9688 kB / 0.6422 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000946/0.7133, allocations: 0.533 MB / 0.6427 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.7133, allocations: 5.844 kB / 0.6427 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.7134, allocations: 4.734 kB / 0.6427 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.7134, allocations: 7.938 kB / 0.6427 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/0.7141, allocations: 119.2 kB / 0.6428 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004448/0.7146, allocations: 0.6332 MB / 0.6434 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/0.7151, allocations: 68.62 kB / 0.6435 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.7152, allocations: 18.81 kB / 0.6435 GB, free: 13 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.printer.firstTrigger,printer.firstTrigger,$whenCondition1,printer.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.7155, allocations: 188.4 kB / 0.6437 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/0.7156, allocations: 48.72 kB / 0.6437 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.7168, allocations: 0.5563 MB / 0.6443 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.7168, allocations: 4.094 kB / 0.6443 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.7168, allocations: 7.797 kB / 0.6443 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7168, allocations: 5.094 kB / 0.6443 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.7186, allocations: 1.117 MB / 0.6454 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.7186, allocations: 0 / 0.6454 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.719, allocations: 90.58 kB / 0.6455 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.7191, allocations: 5.891 kB / 0.6455 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.7191, allocations: 13.28 kB / 0.6455 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000315/0.7194, allocations: 0.6151 MB / 0.6461 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7194, allocations: 3.094 kB / 0.6461 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.7205, allocations: 0.7735 MB / 0.6468 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.7207, allocations: 132.4 kB / 0.647 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/0.7208, allocations: 9.875 kB / 0.647 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.7212, allocations: 30.22 kB / 0.647 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.7212, allocations: 20.25 kB / 0.647 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.7213, allocations: 21.31 kB / 0.6471 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004175/0.7217, allocations: 314.5 kB / 0.6474 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.7e-07/0.7217, allocations: 0 / 0.6474 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001006/0.7227, allocations: 199.3 kB / 0.6475 GB, free: 11.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (TIn.T,TOut.T) * Number of discrete variables: 3 (printer.sampleTrigger,$whenCondition1,printer.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007826/0.7235, allocations: 326 kB / 0.6479 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009646/0.7245, allocations: 437.2 kB / 0.6483 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7245, allocations: 0 / 0.6483 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.7249, allocations: 218.3 kB / 0.6485 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.726, allocations: 214.9 kB / 0.6487 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.7276, allocations: 1.188 MB / 0.6498 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.7279, allocations: 0.8681 MB / 0.6507 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004137/0.7284, allocations: 123.5 kB / 0.6508 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.7285, allocations: 46.28 kB / 0.6509 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.7285, allocations: 0 / 0.6509 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of Templates: time 0.0169/0.7454, allocations: 10.15 MB / 0.6608 GB, free: 7.891 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.Movers.Examples.FlowMachine.pipe 2>&1) Environment - environmentSimulation: