Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8544/0.8544, allocations: 135.1 MB / 425.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 60.47 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1358, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.4468/0.5826, allocations: 237.5 MB / 0.8164 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02099/0.6037, allocations: 15.76 MB / 0.8318 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.606, allocations: 59.62 kB / 0.8319 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003063/0.6091, allocations: 1.037 MB / 0.8329 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.6167, allocations: 2.965 MB / 0.8358 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004432/0.6211, allocations: 1.672 MB / 0.8374 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004778/0.6259, allocations: 3.429 MB / 0.8408 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.628, allocations: 1.304 MB / 0.842 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006067/0.6341, allocations: 2.476 MB / 0.8445 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.6368, allocations: 1.08 MB / 0.8455 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007743/0.6376, allocations: 120 kB / 0.8456 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006861/0.6445, allocations: 3.091 MB / 0.8486 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008017/0.6453, allocations: 482.3 kB / 0.8491 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.647, allocations: 0.8124 MB / 0.8499 GB, free: 12.8 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005764/0.6528, allocations: 2.949 MB / 0.8528 GB, free: 9.848 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6528, allocations: 0 / 0.8528 GB, free: 9.848 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6528, allocations: 0 / 0.8528 GB, free: 9.848 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.964e-05/0.6529, allocations: 4 kB / 0.8528 GB, free: 9.844 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004116/0.657, allocations: 2.008 MB / 0.8547 GB, free: 7.785 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.657, allocations: 8.031 kB / 0.8548 GB, free: 7.777 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/0.6573, allocations: 156.2 kB / 0.8549 GB, free: 7.617 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.6602, allocations: 0.4936 MB / 0.8554 GB, free: 7.121 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.6626, allocations: 1.114 MB / 0.8565 GB, free: 5.949 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009551/0.6636, allocations: 241.8 kB / 0.8567 GB, free: 5.715 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.6638, allocations: 100 kB / 0.8568 GB, free: 5.617 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.6662, allocations: 1.369 MB / 0.8581 GB, free: 4.125 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.6663, allocations: 7.938 kB / 0.8581 GB, free: 4.117 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.6664, allocations: 43.98 kB / 0.8582 GB, free: 4.074 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/0.6664, allocations: 45.98 kB / 0.8582 GB, free: 4.031 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.6691, allocations: 1.082 MB / 0.8593 GB, free: 2.945 MB / 0.67 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.2695/0.9385, allocations: 7.432 MB / 0.8665 GB, free: 112.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.9402, allocations: 0.5652 MB / 0.8671 GB, free: 112.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006516/0.9409, allocations: 268.7 kB / 0.8673 GB, free: 112.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.9412, allocations: 284.7 kB / 0.8676 GB, free: 112.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.9413, allocations: 45.81 kB / 0.8677 GB, free: 112.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.9413, allocations: 0 / 0.8677 GB, free: 112.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002484/0.9438, allocations: 0.8686 MB / 0.8685 GB, free: 112.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.9438, allocations: 53.91 kB / 0.8686 GB, free: 112.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.9457, allocations: 1.399 MB / 0.8699 GB, free: 111.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/0.9458, allocations: 33.61 kB / 0.87 GB, free: 111.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004237/0.9462, allocations: 0.7001 MB / 0.8706 GB, free: 111.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.051e-05/0.9463, allocations: 123.5 kB / 0.8708 GB, free: 111.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.9466, allocations: 170.9 kB / 0.8709 GB, free: 111.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.9466, allocations: 343.1 kB / 0.8713 GB, free: 111.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008578/0.9475, allocations: 329.9 kB / 0.8716 GB, free: 111.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.9485, allocations: 0.7257 MB / 0.8723 GB, free: 110.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.9503, allocations: 0.9635 MB / 0.8732 GB, free: 110.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.9503, allocations: 6.469 kB / 0.8732 GB, free: 110.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00249/0.9528, allocations: 1.093 MB / 0.8743 GB, free: 110.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.9529, allocations: 12.41 kB / 0.8743 GB, free: 110.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.9529, allocations: 13.53 kB / 0.8743 GB, free: 110.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.9529, allocations: 18.47 kB / 0.8743 GB, free: 110.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.9538, allocations: 218.9 kB / 0.8745 GB, free: 110.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.9538, allocations: 22.5 kB / 0.8746 GB, free: 110.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.9552, allocations: 193.9 kB / 0.8747 GB, free: 110.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/0.9553, allocations: 49.02 kB / 0.8748 GB, free: 110.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001156/0.9565, allocations: 0.5842 MB / 0.8754 GB, free: 110.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001012/0.9575, allocations: 0.7218 MB / 0.8761 GB, free: 109.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00161/0.9591, allocations: 0.9662 MB / 0.877 GB, free: 109.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.642e-06/0.9591, allocations: 8.469 kB / 0.877 GB, free: 109.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002306/0.9614, allocations: 1.095 MB / 0.8781 GB, free: 109.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.9615, allocations: 10.41 kB / 0.8781 GB, free: 109.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.9615, allocations: 18.75 kB / 0.8781 GB, free: 109.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.9615, allocations: 15.88 kB / 0.8781 GB, free: 109.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/0.9623, allocations: 215.9 kB / 0.8783 GB, free: 109.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.9623, allocations: 26.98 kB / 0.8784 GB, free: 109.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.9636, allocations: 150.5 kB / 0.8785 GB, free: 109.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/0.9637, allocations: 48.95 kB / 0.8786 GB, free: 109.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.9639, allocations: 232.8 kB / 0.8788 GB, free: 108.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.9641, allocations: 145 kB / 0.8789 GB, free: 108.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.9657, allocations: 0.6627 MB / 0.8796 GB, free: 108.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.9657, allocations: 5.594 kB / 0.8796 GB, free: 108.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.9657, allocations: 0 / 0.8796 GB, free: 108.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9657, allocations: 0.9375 kB / 0.8796 GB, free: 108.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.9688, allocations: 1.915 MB / 0.8814 GB, free: 108.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.9688, allocations: 2.688 kB / 0.8814 GB, free: 108.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.9693, allocations: 99.81 kB / 0.8815 GB, free: 108.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.9693, allocations: 12.38 kB / 0.8816 GB, free: 108.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.9694, allocations: 13.23 kB / 0.8816 GB, free: 108.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.9694, allocations: 7.484 kB / 0.8816 GB, free: 108.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9694, allocations: 7.594 kB / 0.8816 GB, free: 108.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.9709, allocations: 0.8174 MB / 0.8824 GB, free: 107.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.9712, allocations: 298.2 kB / 0.8827 GB, free: 107.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.9714, allocations: 12.2 kB / 0.8827 GB, free: 107.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.9724, allocations: 78.92 kB / 0.8827 GB, free: 107.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.9725, allocations: 30.52 kB / 0.8828 GB, free: 107.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.9726, allocations: 27.72 kB / 0.8828 GB, free: 107.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001303/0.9739, allocations: 1.005 MB / 0.8838 GB, free: 107.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9739, allocations: 0 / 0.8838 GB, free: 107.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001785/0.9757, allocations: 0.5807 MB / 0.8844 GB, free: 107.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00225/0.978, allocations: 1.522 MB / 0.8858 GB, free: 106.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003116/0.9811, allocations: 1.199 MB / 0.887 GB, free: 106.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9811, allocations: 1.156 kB / 0.887 GB, free: 106.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007089/0.9818, allocations: 266.6 kB / 0.8873 GB, free: 106.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/0.9852, allocations: 0.7458 MB / 0.888 GB, free: 106.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/1.001, allocations: 10.72 MB / 0.8985 GB, free: 102.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/1.002, allocations: 1.183 MB / 0.8996 GB, free: 101.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001745/1.004, allocations: 389.1 kB / 0.9 GB, free: 101.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/1.005, allocations: 498.3 kB / 0.9005 GB, free: 101.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.073e-06/1.005, allocations: 0 / 0.9005 GB, free: 101.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.818/3.822, allocations: 35.38 MB / 0.935 GB, free: 79.41 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/15.94, allocations: 15.78 kB / 0.935 GB, free: 79.39 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)