Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.0007717/0.0007717, allocations: 97.95 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.004692/0.004692, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8931/0.8931, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 8.625 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 82.31 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4233/0.5764, allocations: 193.9 MB / 0.7774 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.5893, allocations: 10.31 MB / 0.7875 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.5903, allocations: 51.69 kB / 0.7876 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.5916, allocations: 485.1 kB / 0.788 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.5957, allocations: 1.828 MB / 0.7898 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.5983, allocations: 1.238 MB / 0.791 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003314/0.6017, allocations: 3.672 MB / 0.7946 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.6029, allocations: 0.9852 MB / 0.7956 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.6062, allocations: 1.456 MB / 0.797 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.6076, allocations: 0.9266 MB / 0.7979 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.6077, allocations: 44 kB / 0.7979 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/0.6113, allocations: 2.377 MB / 0.8003 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.6117, allocations: 346.7 kB / 0.8006 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005904/0.6123, allocations: 0.6348 MB / 0.8012 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.6151, allocations: 2.492 MB / 0.8036 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6152, allocations: 0 / 0.8036 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6152, allocations: 0 / 0.8036 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.6152, allocations: 0 / 0.8036 GB, free: 15.55 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002506/0.6177, allocations: 1.573 MB / 0.8052 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6178, allocations: 8.031 kB / 0.8052 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.6179, allocations: 160.2 kB / 0.8053 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.6199, allocations: 365.9 kB / 0.8057 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.6214, allocations: 0.9167 MB / 0.8066 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.6215, allocations: 78 kB / 0.8066 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.6217, allocations: 104 kB / 0.8067 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.6234, allocations: 1.099 MB / 0.8078 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.6235, allocations: 7.875 kB / 0.8078 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.6236, allocations: 48 kB / 0.8079 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.6237, allocations: 34 kB / 0.8079 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.6251, allocations: 0.8041 MB / 0.8087 GB, free: 10.21 MB / 0.6231 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.005558/0.6307, allocations: 5.082 MB / 0.8137 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.632, allocations: 0.7071 MB / 0.8143 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.6325, allocations: 351.5 kB / 0.8147 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.6331, allocations: 327.8 kB / 0.815 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.6332, allocations: 43.12 kB / 0.815 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.495e-06/0.6332, allocations: 0 / 0.815 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001833/0.635, allocations: 0.9349 MB / 0.8159 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.6351, allocations: 59.91 kB / 0.816 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009825/0.636, allocations: 0.8803 MB / 0.8169 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.6361, allocations: 41.7 kB / 0.8169 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.6365, allocations: 0.5624 MB / 0.8175 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.6367, allocations: 248.3 kB / 0.8177 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/0.6368, allocations: 65.69 kB / 0.8178 GB, free: 456 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6369, allocations: 345.8 kB / 0.8181 GB, free: 104 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.6374, allocations: 245.9 kB / 0.8183 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.638, allocations: 451.1 kB / 0.8187 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.639, allocations: 0.7015 MB / 0.8194 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6391, allocations: 4 kB / 0.8194 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001346/0.6404, allocations: 0.8396 MB / 0.8203 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.6405, allocations: 229.2 kB / 0.8205 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6406, allocations: 8 kB / 0.8205 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6406, allocations: 8 kB / 0.8205 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.6421, allocations: 251.7 kB / 0.8207 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.6433, allocations: 1.397 MB / 0.8221 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008266/0.6442, allocations: 116.6 kB / 0.8222 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/0.6442, allocations: 32 kB / 0.8222 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/0.6443, allocations: 4 kB / 0.8222 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/0.6454, allocations: 0.706 MB / 0.8229 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6455, allocations: 4 kB / 0.8229 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.6455, allocations: 12.62 kB / 0.8229 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.6469, allocations: 259.6 kB / 0.8232 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.6481, allocations: 1.382 MB / 0.8245 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.6488, allocations: 110.3 kB / 0.8246 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.6489, allocations: 32 kB / 0.8247 GB, free: 8.871 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004189/0.6493, allocations: 368.8 kB / 0.825 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.6494, allocations: 114.6 kB / 0.8251 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.651, allocations: 0.7941 MB / 0.8259 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.6511, allocations: 11.98 kB / 0.8259 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.6511, allocations: 0 / 0.8259 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001359/0.6524, allocations: 0.7078 MB / 0.8266 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/0.6561, allocations: 1.934 MB / 0.8285 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.6561, allocations: 4 kB / 0.8285 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006983/0.6568, allocations: 143.8 kB / 0.8286 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004026/0.6572, allocations: 48.98 kB / 0.8287 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.6573, allocations: 16 kB / 0.8287 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.6585, allocations: 1.356 MB / 0.83 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6585, allocations: 0 / 0.83 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.6605, allocations: 1.263 MB / 0.8313 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.6609, allocations: 255.4 kB / 0.8315 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.661, allocations: 19.98 kB / 0.8315 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006456/0.6616, allocations: 55.95 kB / 0.8316 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.6617, allocations: 44.44 kB / 0.8316 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.6618, allocations: 24 kB / 0.8316 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006789/0.6624, allocations: 0.6006 MB / 0.8322 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6625, allocations: 0 / 0.8322 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001227/0.6637, allocations: 0.5374 MB / 0.8328 GB, free: 248 kB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002569/0.6663, allocations: 1.908 MB / 0.8346 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003342/0.6696, allocations: 1.193 MB / 0.8358 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.6696, allocations: 4 kB / 0.8358 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007388/0.6704, allocations: 448.5 kB / 0.8362 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.6731, allocations: 0.5031 MB / 0.8367 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.6854, allocations: 8.99 MB / 0.8455 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.6861, allocations: 1.144 MB / 0.8466 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001079/0.6872, allocations: 272.8 kB / 0.8469 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005911/0.6878, allocations: 463.2 kB / 0.8473 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of SimCode: time 6.12e-07/0.6878, allocations: 0 / 0.8473 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8883/1.576, allocations: 25.99 MB / 0.8727 GB, free: 215.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/1.576, allocations: 271.1 kB / 0.8729 GB, free: 215.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.643/4.219, allocations: 0 / 0.8729 GB, free: 215.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)