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.004695/0.004695, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.001112/0.001112, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7856/0.7856, allocations: 135.1 MB / 425.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 66.69 kB / 0.5851 GB, free: 21.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1388, allocations: 80.91 MB / 0.6641 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5846/0.7234, allocations: 237.5 MB / 0.8961 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02252/0.746, allocations: 15.76 MB / 0.9115 GB, free: 1.988 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/0.7483, allocations: 63.62 kB / 0.9116 GB, free: 1.926 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.7512, allocations: 1.08 MB / 0.9126 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007638/0.7589, allocations: 3.084 MB / 0.9156 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004563/0.7635, allocations: 1.704 MB / 0.9173 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004842/0.7684, allocations: 3.445 MB / 0.9207 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.7704, allocations: 1.292 MB / 0.9219 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006407/0.7769, allocations: 2.574 MB / 0.9244 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.7793, allocations: 1.084 MB / 0.9255 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004138/0.7797, allocations: 120 kB / 0.9256 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00591/0.7856, allocations: 3.11 MB / 0.9286 GB, free: 408 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007265/0.7864, allocations: 474.4 kB / 0.9291 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.7879, allocations: 0.8085 MB / 0.9299 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005713/0.7936, allocations: 2.984 MB / 0.9328 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.7936, allocations: 0 / 0.9328 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.146e-06/0.7937, allocations: 4 kB / 0.9328 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.901e-05/0.7937, allocations: 3.938 kB / 0.9328 GB, free: 12.12 MB / 0.7012 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.004149/0.7979, allocations: 2.005 MB / 0.9348 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.7979, allocations: 9.109 kB / 0.9348 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002437/0.7982, allocations: 160.2 kB / 0.9349 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/0.801, allocations: 0.4975 MB / 0.9354 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.8036, allocations: 1.164 MB / 0.9366 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-05/0.8037, allocations: 78 kB / 0.9366 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.8039, allocations: 100 kB / 0.9367 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.8064, allocations: 1.354 MB / 0.938 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.8064, allocations: 4 kB / 0.938 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.8065, allocations: 47.94 kB / 0.9381 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/0.8066, allocations: 41.98 kB / 0.9381 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.809, allocations: 1.057 MB / 0.9392 GB, free: 5.367 MB / 0.7012 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.009025/0.818, allocations: 7.395 MB / 0.9464 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.8197, allocations: 0.5406 MB / 0.9469 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.8203, allocations: 261.2 kB / 0.9472 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/0.8207, allocations: 283.6 kB / 0.9474 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.8208, allocations: 34.84 kB / 0.9475 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/0.8208, allocations: 0 / 0.9475 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.00264/0.8234, allocations: 0.84 MB / 0.9483 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.8235, allocations: 55.41 kB / 0.9483 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.8257, allocations: 1.391 MB / 0.9497 GB, free: 10 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.51e-05/0.8258, allocations: 37.7 kB / 0.9497 GB, free: 9.957 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006248/0.8264, allocations: 0.7025 MB / 0.9504 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.8266, allocations: 118.4 kB / 0.9505 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/0.8268, allocations: 170.4 kB / 0.9507 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.827, allocations: 337.9 kB / 0.951 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007708/0.8278, allocations: 316.6 kB / 0.9513 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.8288, allocations: 0.7112 MB / 0.952 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.8305, allocations: 0.9462 MB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.8305, allocations: 7.938 kB / 0.9529 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002343/0.8329, allocations: 1.07 MB / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.8329, allocations: 12 kB / 0.954 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.8329, allocations: 12 kB / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.833, allocations: 16 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008125/0.8338, allocations: 207.8 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/0.8338, allocations: 27.92 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.8351, allocations: 178.7 kB / 0.9544 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.8353, allocations: 51.92 kB / 0.9545 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001185/0.8364, allocations: 0.5721 MB / 0.955 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001031/0.8375, allocations: 0.711 MB / 0.9557 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001604/0.8391, allocations: 0.938 MB / 0.9566 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.368e-06/0.8391, allocations: 4 kB / 0.9566 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002256/0.8414, allocations: 1.07 MB / 0.9577 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8414, allocations: 11.98 kB / 0.9577 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.8414, allocations: 12 kB / 0.9577 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.8415, allocations: 20.03 kB / 0.9577 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007608/0.8422, allocations: 199.7 kB / 0.9579 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/0.8423, allocations: 27.86 kB / 0.958 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.8435, allocations: 143.4 kB / 0.9581 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-05/0.8436, allocations: 40 kB / 0.9581 GB, free: 0.625 MB / 0.7169 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.0002386/0.8439, allocations: 239.9 kB / 0.9584 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.8441, allocations: 142.2 kB / 0.9585 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.8457, allocations: 0.6404 MB / 0.9591 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.8457, allocations: 4 kB / 0.9591 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.8458, allocations: 0 / 0.9591 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.8458, allocations: 3.984 kB / 0.9591 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.8494, allocations: 1.888 MB / 0.961 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.8494, allocations: 4 kB / 0.961 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.8499, allocations: 87.86 kB / 0.9611 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.8499, allocations: 12.16 kB / 0.9611 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.8499, allocations: 11.98 kB / 0.9611 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.8499, allocations: 11.94 kB / 0.9611 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.85, allocations: 4 kB / 0.9611 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.8514, allocations: 0.8033 MB / 0.9619 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000503/0.8519, allocations: 299.1 kB / 0.9622 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.8522, allocations: 12 kB / 0.9622 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009635/0.8532, allocations: 67.92 kB / 0.9622 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.8532, allocations: 31.84 kB / 0.9623 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.8533, allocations: 23.98 kB / 0.9623 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001427/0.8547, allocations: 1.009 MB / 0.9633 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.453e-06/0.8547, allocations: 0 / 0.9633 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001774/0.8565, allocations: 0.5773 MB / 0.9638 GB, free: 10.55 MB / 0.7325 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.002094/0.8586, allocations: 1.509 MB / 0.9653 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002611/0.8613, allocations: 1.14 MB / 0.9664 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.8613, allocations: 0 / 0.9664 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.8619, allocations: 265.3 kB / 0.9667 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/0.865, allocations: 0.7386 MB / 0.9674 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/0.8825, allocations: 9.835 MB / 0.977 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008635/0.8834, allocations: 1.186 MB / 0.9782 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001422/0.8849, allocations: 391.8 kB / 0.9785 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/0.8856, allocations: 499.3 kB / 0.979 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/0.8856, allocations: 0 / 0.979 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06625/0.9518, allocations: 35.57 MB / 1.014 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.71/10.66, allocations: 11.91 kB / 1.014 GB, free: 7.191 MB / 0.7794 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)