Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.00169/0.00169, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001898/0.001898, allocations: 189.9 kB / 16.25 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.251/2.251, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.533/1.533, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002454, allocations: 60.95 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2231, allocations: 80.93 MB / 0.584 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.7734/0.9966, allocations: 218.3 MB / 0.7972 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01606/1.013, allocations: 5.67 MB / 0.8027 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/1.015, allocations: 35.75 kB / 0.8027 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003076/1.018, allocations: 0.5209 MB / 0.8032 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009224/1.028, allocations: 1.727 MB / 0.8049 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006172/1.034, allocations: 1.09 MB / 0.806 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007114/1.041, allocations: 2.93 MB / 0.8089 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/1.044, allocations: 1.004 MB / 0.8098 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003733/1.048, allocations: 1.074 MB / 0.8109 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00437/1.052, allocations: 0.9968 MB / 0.8119 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005418/1.053, allocations: 108 kB / 0.812 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005397/1.058, allocations: 1.504 MB / 0.8134 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001141/1.059, allocations: 462.8 kB / 0.8139 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001931/1.061, allocations: 0.6495 MB / 0.8145 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005532/1.067, allocations: 2.22 MB / 0.8167 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.067, allocations: 4 kB / 0.8167 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.034e-06/1.067, allocations: 0 / 0.8167 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.405e-05/1.067, allocations: 0 / 0.8167 GB, free: 14.82 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.005087/1.072, allocations: 1.502 MB / 0.8181 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.464e-05/1.072, allocations: 12.03 kB / 0.8182 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000404/1.072, allocations: 139.3 kB / 0.8183 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003951/1.076, allocations: 314.3 kB / 0.8186 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/1.079, allocations: 0.8162 MB / 0.8194 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.402e-05/1.079, allocations: 73.94 kB / 0.8195 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/1.079, allocations: 84 kB / 0.8195 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/1.083, allocations: 0.9209 MB / 0.8204 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/1.083, allocations: 4.859 kB / 0.8204 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/1.083, allocations: 39.94 kB / 0.8205 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-05/1.083, allocations: 30 kB / 0.8205 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/1.086, allocations: 0.8315 MB / 0.8213 GB, free: 9.957 MB / 0.6387 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.009944/1.096, allocations: 3.521 MB / 0.8248 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/1.097, allocations: 0.4966 MB / 0.8252 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008333/1.098, allocations: 301.6 kB / 0.8255 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/1.098, allocations: 105.5 kB / 0.8256 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/1.098, allocations: 43 kB / 0.8257 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 3.878e-06/1.098, allocations: 0 / 0.8257 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.006726/1.105, allocations: 1.872 MB / 0.8275 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/1.105, allocations: 55.84 kB / 0.8276 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/1.107, allocations: 0.8097 MB / 0.8283 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/1.107, allocations: 45.64 kB / 0.8284 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006286/1.108, allocations: 483.1 kB / 0.8288 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/1.108, allocations: 169.6 kB / 0.829 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/1.109, allocations: 118.2 kB / 0.8291 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000296/1.109, allocations: 334 kB / 0.8294 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/1.11, allocations: 241.2 kB / 0.8297 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009563/1.111, allocations: 384.7 kB / 0.83 GB, free: 0.582 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00635/1.117, allocations: 1.533 MB / 0.8315 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.117, allocations: 7.938 kB / 0.8315 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002535/1.12, allocations: 0.7887 MB / 0.8323 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/1.12, allocations: 8 kB / 0.8323 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.12, allocations: 4 kB / 0.8323 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002835/1.12, allocations: 61.69 kB / 0.8324 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.121, allocations: 147.8 kB / 0.8325 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/1.126, allocations: 3.125 MB / 0.8356 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/1.128, allocations: 55.86 kB / 0.8356 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/1.128, allocations: 28 kB / 0.8357 GB, free: 10.48 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * 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: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009753/1.129, allocations: 306.9 kB / 0.8359 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004229/1.129, allocations: 94.88 kB / 0.836 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003762/1.13, allocations: 100.8 kB / 0.8361 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.13, allocations: 7.984 kB / 0.8361 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.13, allocations: 0 / 0.8361 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/1.132, allocations: 0.8349 MB / 0.837 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/1.137, allocations: 1.79 MB / 0.8387 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.137, allocations: 8.062 kB / 0.8387 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/1.139, allocations: 131.8 kB / 0.8388 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/1.139, allocations: 36.84 kB / 0.8389 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/1.139, allocations: 15.98 kB / 0.8389 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/1.141, allocations: 1.599 MB / 0.8404 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.141, allocations: 4 kB / 0.8405 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/1.144, allocations: 1.088 MB / 0.8415 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008467/1.145, allocations: 244 kB / 0.8417 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/1.145, allocations: 15.92 kB / 0.8418 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/1.147, allocations: 70.17 kB / 0.8418 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.147, allocations: 39.89 kB / 0.8419 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.147, allocations: 28.12 kB / 0.8419 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001452/1.149, allocations: 0.5654 MB / 0.8424 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.6e-07/1.149, allocations: 0 / 0.8424 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001823/1.15, allocations: 279.9 kB / 0.8427 GB, free: 2.832 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (47): * Single equations (assignments): 46 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003901/1.154, allocations: 1.733 MB / 0.8444 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002536/1.157, allocations: 0.869 MB / 0.8453 GB, free: 160 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.157, allocations: 0 / 0.8453 GB, free: 160 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.158, allocations: 416.3 kB / 0.8456 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00495/1.163, allocations: 0.6023 MB / 0.8462 GB, free: 15.17 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/1.184, allocations: 7.633 MB / 0.8537 GB, free: 7.203 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/1.185, allocations: 1.088 MB / 0.8548 GB, free: 6.086 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001864/1.187, allocations: 223.7 kB / 0.855 GB, free: 5.863 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008697/1.188, allocations: 343.3 kB / 0.8553 GB, free: 5.527 MB / 0.67 GB Notification: Performance of SimCode: time 1.102e-06/1.188, allocations: 0 / 0.8553 GB, free: 5.527 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5026/1.691, allocations: 26.97 MB / 0.8816 GB, free: 220.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/1.691, allocations: 299.2 kB / 0.8819 GB, free: 220.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.004/5.695, allocations: 0 / 0.8819 GB, free: 220.3 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)