Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.001651/0.001651, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 197.7 kB / 16.53 MB, free: 6.391 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7705/0.7705, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002104, allocations: 63.42 kB / 0.5019 GB, free: 3.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3774, allocations: 80.21 MB / 0.5802 GB, free: 4.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2426/0.62, allocations: 221.9 MB / 0.7969 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.6387, allocations: 13.75 MB / 0.8103 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.6407, allocations: 63.69 kB / 0.8103 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.6429, allocations: 0.8074 MB / 0.8111 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005483/0.6484, allocations: 2.154 MB / 0.8132 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.6518, allocations: 1.165 MB / 0.8144 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3171/0.9689, allocations: 2.857 MB / 0.8172 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.9706, allocations: 1.189 MB / 0.8183 GB, free: 4 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005316/0.9759, allocations: 2.428 MB / 0.8207 GB, free: 4 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.9777, allocations: 1.022 MB / 0.8217 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002429/0.9779, allocations: 100.2 kB / 0.8218 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.9807, allocations: 1.581 MB / 0.8233 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003955/0.9811, allocations: 436 kB / 0.8237 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007253/0.9819, allocations: 0.6769 MB / 0.8244 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.9843, allocations: 2.053 MB / 0.8264 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9843, allocations: 0.9062 kB / 0.8264 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9843, allocations: 0 / 0.8264 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.9843, allocations: 3.062 kB / 0.8264 GB, free: 3.938 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002471/0.9868, allocations: 1.649 MB / 0.828 GB, free: 19.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.9869, allocations: 12.53 kB / 0.828 GB, free: 19.06 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/0.987, allocations: 140.4 kB / 0.8282 GB, free: 19.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.9892, allocations: 434.3 kB / 0.8286 GB, free: 18.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.9904, allocations: 0.8883 MB / 0.8295 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/0.9914, allocations: 240.1 kB / 0.8297 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.9916, allocations: 87.22 kB / 0.8298 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.9935, allocations: 1.229 MB / 0.831 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.9935, allocations: 5.375 kB / 0.831 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.463e-05/0.9936, allocations: 41.16 kB / 0.831 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/0.9937, allocations: 36.97 kB / 0.831 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.9958, allocations: 0.9039 MB / 0.8319 GB, free: 18.24 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.005954/1.002, allocations: 6.074 MB / 0.8379 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/1.002, allocations: 260.8 kB / 0.8381 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/1.002, allocations: 143.6 kB / 0.8382 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/1.002, allocations: 99.62 kB / 0.8383 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/1.002, allocations: 47.97 kB / 0.8384 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006315/1.003, allocations: 113.2 kB / 0.8385 GB, free: 14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 2.615e-06/1.003, allocations: 0 / 0.8385 GB, free: 14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001084/1.004, allocations: 474.3 kB / 0.8389 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/1.004, allocations: 192.4 kB / 0.8391 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/1.006, allocations: 1.321 MB / 0.8404 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/1.006, allocations: 34.98 kB / 0.8405 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/1.006, allocations: 0.6197 MB / 0.8411 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/1.006, allocations: 80.45 kB / 0.8411 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/1.007, allocations: 146.1 kB / 0.8413 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.007, allocations: 325.6 kB / 0.8416 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/1.007, allocations: 255.2 kB / 0.8418 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008404/1.008, allocations: 0.5699 MB / 0.8424 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/1.009, allocations: 0.7013 MB / 0.8431 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/1.009, allocations: 7.234 kB / 0.8431 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001892/1.011, allocations: 0.8961 MB / 0.844 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.011, allocations: 10.12 kB / 0.844 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.011, allocations: 14.05 kB / 0.844 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/1.011, allocations: 14.5 kB / 0.844 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/1.012, allocations: 176.5 kB / 0.8442 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.012, allocations: 20.72 kB / 0.8442 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/1.013, allocations: 145.7 kB / 0.8443 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/1.014, allocations: 42.14 kB / 0.8444 GB, free: 12 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003299/1.014, allocations: 297.9 kB / 0.8446 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/1.014, allocations: 125 kB / 0.8448 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/1.015, allocations: 285.5 kB / 0.845 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.015, allocations: 3.703 kB / 0.845 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.015, allocations: 1.781 kB / 0.845 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.015, allocations: 7.281 kB / 0.845 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/1.016, allocations: 1.677 MB / 0.8467 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.016, allocations: 5.062 kB / 0.8467 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/1.017, allocations: 38.36 kB / 0.8467 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.017, allocations: 3.438 kB / 0.8467 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.017, allocations: 12.94 kB / 0.8467 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/1.017, allocations: 5.094 kB / 0.8467 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.017, allocations: 8.922 kB / 0.8468 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/1.017, allocations: 496.5 kB / 0.8472 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/1.017, allocations: 236 kB / 0.8475 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/1.018, allocations: 12.47 kB / 0.8475 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/1.018, allocations: 54.19 kB / 0.8475 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/1.018, allocations: 22.17 kB / 0.8475 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/1.018, allocations: 10.62 kB / 0.8475 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001345/1.02, allocations: 0.9291 MB / 0.8485 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/1.02, allocations: 0.8438 kB / 0.8485 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008109/1.021, allocations: 280.9 kB / 0.8487 GB, free: 10.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (20): * Single equations (assignments): 20 * 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.0009756/1.022, allocations: 1.134 MB / 0.8498 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001026/1.023, allocations: 483.3 kB / 0.8503 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.023, allocations: 3.594 kB / 0.8503 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/1.023, allocations: 103.8 kB / 0.8504 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/1.025, allocations: 0.5812 MB / 0.851 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/1.037, allocations: 8.752 MB / 0.8595 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/1.037, allocations: 1.117 MB / 0.8606 GB, free: 5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008949/1.038, allocations: 240.3 kB / 0.8608 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/1.039, allocations: 414.2 kB / 0.8612 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/1.039, allocations: 0 / 0.8612 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05232/1.091, allocations: 27.35 MB / 0.8879 GB, free: 12.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.839, allocations: 6.281 kB / 0.8879 GB, free: 12.77 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)