Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_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.007248/0.007248, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00188/0.001881, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7848/0.7848, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 71.59 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1614, allocations: 80.2 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.6496/0.811, allocations: 237.5 MB / 0.8911 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01989/0.831, allocations: 15.77 MB / 0.9065 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.8343, allocations: 63.06 kB / 0.9066 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.8372, allocations: 1.031 MB / 0.9076 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008546/0.8458, allocations: 2.968 MB / 0.9105 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004759/0.8506, allocations: 1.688 MB / 0.9122 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005171/0.8558, allocations: 3.438 MB / 0.9155 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.8576, allocations: 1.295 MB / 0.9168 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00656/0.8641, allocations: 2.497 MB / 0.9192 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.8663, allocations: 1.083 MB / 0.9203 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.8665, allocations: 116.9 kB / 0.9204 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006385/0.8729, allocations: 3.095 MB / 0.9234 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005339/0.8734, allocations: 483.6 kB / 0.9239 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.8745, allocations: 0.813 MB / 0.9247 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.88, allocations: 2.997 MB / 0.9276 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.88, allocations: 0 / 0.9276 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.88, allocations: 0 / 0.9276 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.403e-05/0.88, allocations: 3.938 kB / 0.9276 GB, free: 6.883 MB / 0.6544 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.003752/0.8838, allocations: 2.072 MB / 0.9296 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.8838, allocations: 8.031 kB / 0.9296 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.884, allocations: 152.2 kB / 0.9298 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/0.8868, allocations: 0.5052 MB / 0.9303 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.8891, allocations: 1.169 MB / 0.9314 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.413e-05/0.8892, allocations: 78 kB / 0.9315 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.8893, allocations: 103 kB / 0.9316 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.8917, allocations: 1.36 MB / 0.9329 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.8918, allocations: 2.531 kB / 0.9329 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.8919, allocations: 47.92 kB / 0.933 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-05/0.8919, allocations: 46 kB / 0.933 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.8943, allocations: 1.051 MB / 0.934 GB, free: 0.5859 MB / 0.6544 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.008476/0.9028, allocations: 7.406 MB / 0.9413 GB, free: 8.824 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.9045, allocations: 0.5394 MB / 0.9418 GB, free: 8.281 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/0.9051, allocations: 263.8 kB / 0.942 GB, free: 8.023 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004194/0.9055, allocations: 282.5 kB / 0.9423 GB, free: 7.695 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.9056, allocations: 38.84 kB / 0.9423 GB, free: 7.648 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.495e-06/0.9056, allocations: 4 kB / 0.9424 GB, free: 7.645 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002489/0.9081, allocations: 0.8445 MB / 0.9432 GB, free: 6.797 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.9082, allocations: 59.34 kB / 0.9432 GB, free: 6.727 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.9101, allocations: 1.387 MB / 0.9446 GB, free: 5.328 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/0.9102, allocations: 33.7 kB / 0.9446 GB, free: 5.289 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000614/0.9108, allocations: 0.7156 MB / 0.9453 GB, free: 4.574 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.9109, allocations: 129.6 kB / 0.9454 GB, free: 4.449 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/0.9112, allocations: 174.5 kB / 0.9456 GB, free: 4.273 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9114, allocations: 334 kB / 0.9459 GB, free: 3.941 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008323/0.9122, allocations: 316.6 kB / 0.9462 GB, free: 3.629 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.9134, allocations: 0.7109 MB / 0.9469 GB, free: 2.746 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.9152, allocations: 0.9417 MB / 0.9478 GB, free: 1.684 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.9152, allocations: 4 kB / 0.9478 GB, free: 1.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002551/0.9178, allocations: 1.077 MB / 0.9489 GB, free: 0.668 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.9178, allocations: 8 kB / 0.9489 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.9179, allocations: 12.84 kB / 0.9489 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/0.9179, allocations: 19.98 kB / 0.9489 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.9187, allocations: 208.9 kB / 0.9491 GB, free: 448 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-05/0.9188, allocations: 29.17 kB / 0.9492 GB, free: 424 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.9202, allocations: 191 kB / 0.9493 GB, free: 232 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.9203, allocations: 44 kB / 0.9494 GB, free: 188 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001294/0.9216, allocations: 0.5695 MB / 0.9499 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00116/0.9228, allocations: 0.7086 MB / 0.9506 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001811/0.9246, allocations: 0.9471 MB / 0.9516 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/0.9246, allocations: 4 kB / 0.9516 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002706/0.9273, allocations: 1.067 MB / 0.9526 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.9273, allocations: 12 kB / 0.9526 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.9274, allocations: 12 kB / 0.9526 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.9274, allocations: 16 kB / 0.9526 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/0.9282, allocations: 209.3 kB / 0.9528 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.9282, allocations: 29.19 kB / 0.9529 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.9295, allocations: 135.6 kB / 0.953 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.9296, allocations: 43.98 kB / 0.953 GB, free: 12.22 MB / 0.6856 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.0002855/0.9299, allocations: 241.3 kB / 0.9533 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.9301, allocations: 143.1 kB / 0.9534 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.9318, allocations: 0.6482 MB / 0.954 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.9319, allocations: 7.938 kB / 0.9541 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9319, allocations: 0 / 0.9541 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.9319, allocations: 0 / 0.9541 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.9354, allocations: 1.882 MB / 0.9559 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.9355, allocations: 7.938 kB / 0.9559 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.9359, allocations: 93.2 kB / 0.956 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.936, allocations: 4 kB / 0.956 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.936, allocations: 12 kB / 0.956 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.936, allocations: 10.52 kB / 0.956 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.936, allocations: 7.938 kB / 0.956 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.9376, allocations: 0.8059 MB / 0.9568 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/0.9381, allocations: 311.8 kB / 0.9571 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.9383, allocations: 12 kB / 0.9571 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/0.9392, allocations: 71.86 kB / 0.9572 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.634e-05/0.9393, allocations: 34.31 kB / 0.9572 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.9394, allocations: 27.97 kB / 0.9572 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001507/0.9409, allocations: 1.001 MB / 0.9582 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.252e-06/0.9409, allocations: 4 kB / 0.9582 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001782/0.9427, allocations: 0.5839 MB / 0.9588 GB, free: 6.184 MB / 0.6856 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.002475/0.9452, allocations: 1.509 MB / 0.9603 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002997/0.9482, allocations: 1.144 MB / 0.9614 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.9482, allocations: 8.125 kB / 0.9614 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.9489, allocations: 254.7 kB / 0.9616 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/0.9525, allocations: 0.7418 MB / 0.9624 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.9695, allocations: 9.877 MB / 0.972 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008393/0.9704, allocations: 1.19 MB / 0.9732 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001443/0.9718, allocations: 391.8 kB / 0.9735 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006808/0.9725, allocations: 0.4915 MB / 0.974 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of SimCode: time 4.81e-07/0.9725, allocations: 0 / 0.974 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07259/1.045, allocations: 35.56 MB / 1.009 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.48, allocations: 4 kB / 1.009 GB, free: 3.152 MB / 0.7325 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)