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.0008185/0.0008184, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005456/0.005456, allocations: 171.4 kB / 16.27 MB, free: 6.328 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.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9635/0.9635, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003246, allocations: 12 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5043/0.6663, allocations: 232.2 MB / 0.8148 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02197/0.6883, allocations: 15.72 MB / 0.8302 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003486/0.6919, allocations: 55.62 kB / 0.8302 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003524/0.6954, allocations: 0.8627 MB / 0.8311 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00772/0.7032, allocations: 2.788 MB / 0.8338 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.7073, allocations: 1.508 MB / 0.8353 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005655/0.7129, allocations: 4.653 MB / 0.8398 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.7148, allocations: 1.052 MB / 0.8408 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007126/0.7219, allocations: 2.222 MB / 0.843 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.7252, allocations: 1.07 MB / 0.8441 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005335/0.7258, allocations: 48 kB / 0.8441 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006832/0.7326, allocations: 3.573 MB / 0.8476 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007531/0.7334, allocations: 402.5 kB / 0.848 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.7349, allocations: 0.7437 MB / 0.8487 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006117/0.741, allocations: 3.061 MB / 0.8517 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.741, allocations: 0 / 0.8517 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7411, allocations: 0 / 0.8517 GB, free: 14.23 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.2e-05/0.7411, allocations: 0 / 0.8517 GB, free: 14.23 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.004018/0.7452, allocations: 1.719 MB / 0.8534 GB, free: 12.45 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.7452, allocations: 12.03 kB / 0.8534 GB, free: 12.44 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003375/0.7456, allocations: 156.2 kB / 0.8535 GB, free: 12.28 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/0.7486, allocations: 0.5366 MB / 0.8541 GB, free: 11.74 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.751, allocations: 1.114 MB / 0.8551 GB, free: 10.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/0.752, allocations: 277.8 kB / 0.8554 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.7522, allocations: 100 kB / 0.8555 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.7549, allocations: 1.338 MB / 0.8568 GB, free: 8.777 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.755, allocations: 7.922 kB / 0.8568 GB, free: 8.77 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.7551, allocations: 44 kB / 0.8569 GB, free: 8.727 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.523e-05/0.7552, allocations: 42 kB / 0.8569 GB, free: 8.684 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.7579, allocations: 1.112 MB / 0.858 GB, free: 7.57 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.008748/0.7667, allocations: 6.669 MB / 0.8645 GB, free: 472 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2565/1.023, allocations: 0.6031 MB / 0.8651 GB, free: 220 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/1.024, allocations: 285.7 kB / 0.8654 GB, free: 220 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/1.024, allocations: 285.4 kB / 0.8656 GB, free: 219.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/1.024, allocations: 37.28 kB / 0.8657 GB, free: 219.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.745e-06/1.024, allocations: 0 / 0.8657 GB, free: 219.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002421/1.027, allocations: 0.9097 MB / 0.8666 GB, free: 219.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/1.027, allocations: 54.41 kB / 0.8666 GB, free: 219.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/1.028, allocations: 1.367 MB / 0.8679 GB, free: 219.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/1.029, allocations: 35.45 kB / 0.868 GB, free: 219.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/1.029, allocations: 0.6808 MB / 0.8686 GB, free: 219.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/1.029, allocations: 122.1 kB / 0.8688 GB, free: 219.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/1.029, allocations: 56.36 kB / 0.8688 GB, free: 219.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.235e-05/1.029, allocations: 336.3 kB / 0.8691 GB, free: 218.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008222/1.03, allocations: 329.9 kB / 0.8694 GB, free: 218.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009889/1.031, allocations: 0.6631 MB / 0.8701 GB, free: 218.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/1.033, allocations: 0.9126 MB / 0.871 GB, free: 218.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.033, allocations: 2.906 kB / 0.871 GB, free: 218.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002127/1.035, allocations: 1.053 MB / 0.872 GB, free: 217.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/1.035, allocations: 376.5 kB / 0.8724 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.035, allocations: 8.844 kB / 0.8724 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/1.035, allocations: 18.19 kB / 0.8724 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008254/1.036, allocations: 206.5 kB / 0.8726 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/1.036, allocations: 16.52 kB / 0.8726 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.037, allocations: 237 kB / 0.8728 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/1.037, allocations: 45.48 kB / 0.8729 GB, free: 217.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/1.037, allocations: 4.203 kB / 0.8729 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002011/1.039, allocations: 0.9019 MB / 0.8738 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.039, allocations: 14.67 kB / 0.8738 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/1.039, allocations: 11.56 kB / 0.8738 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007674/1.04, allocations: 208.9 kB / 0.874 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.04, allocations: 24.41 kB / 0.874 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.041, allocations: 202.2 kB / 0.8742 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/1.041, allocations: 37.77 kB / 0.8742 GB, free: 217.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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.000601/1.042, allocations: 417 kB / 0.8746 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/1.042, allocations: 139 kB / 0.8748 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/1.044, allocations: 0.6883 MB / 0.8754 GB, free: 216.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/1.044, allocations: 3.156 kB / 0.8754 GB, free: 216.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.044, allocations: 2.875 kB / 0.8755 GB, free: 216.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.044, allocations: 0 / 0.8755 GB, free: 216.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/1.047, allocations: 1.961 MB / 0.8774 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.047, allocations: 7.469 kB / 0.8774 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/1.048, allocations: 106.2 kB / 0.8775 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.048, allocations: 7.094 kB / 0.8775 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/1.048, allocations: 12.78 kB / 0.8775 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/1.048, allocations: 9.125 kB / 0.8775 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.048, allocations: 7.219 kB / 0.8775 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/1.049, allocations: 0.8544 MB / 0.8783 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/1.05, allocations: 301.5 kB / 0.8786 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/1.05, allocations: 10.5 kB / 0.8786 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.051, allocations: 110.1 kB / 0.8787 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/1.051, allocations: 33.67 kB / 0.8788 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/1.051, allocations: 25.58 kB / 0.8788 GB, free: 215.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001208/1.052, allocations: 0.9877 MB / 0.8798 GB, free: 214.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.21e-07/1.052, allocations: 4 kB / 0.8798 GB, free: 214.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001617/1.054, allocations: 0.5741 MB / 0.8803 GB, free: 214.7 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.002021/1.056, allocations: 1.561 MB / 0.8819 GB, free: 213.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002623/1.058, allocations: 1.166 MB / 0.883 GB, free: 213.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.058, allocations: 4.125 kB / 0.883 GB, free: 213.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006341/1.059, allocations: 272.1 kB / 0.8833 GB, free: 213.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004125/1.063, allocations: 0.7758 MB / 0.884 GB, free: 213.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/1.08, allocations: 10.9 MB / 0.8947 GB, free: 206.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/1.081, allocations: 1.182 MB / 0.8958 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001702/1.083, allocations: 369 kB / 0.8962 GB, free: 205.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006039/1.083, allocations: 0.4932 MB / 0.8966 GB, free: 205.6 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/1.083, allocations: 0 / 0.8966 GB, free: 205.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6032/1.686, allocations: 35.52 MB / 0.9313 GB, free: 196.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/1.687, allocations: 230.9 kB / 0.9316 GB, free: 196.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/4.528, allocations: 0 / 0.9316 GB, free: 196.2 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)