Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.008635/0.008635, allocations: 103.2 kB / 15.73 MB, free: 6.051 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.001938/0.001938, allocations: 193.5 kB / 16.67 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 2.274/2.274, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.353/1.353, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 70.91 kB / 0.5809 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1934, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.1012/0.2947, allocations: 49.75 MB / 0.7078 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03604/0.3308, allocations: 12.65 MB / 0.7201 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004966/0.3358, allocations: 83.5 kB / 0.7202 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004725/0.3407, allocations: 0.7526 MB / 0.7209 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.3514, allocations: 1.819 MB / 0.7227 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007796/0.3592, allocations: 1.353 MB / 0.724 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009034/0.3683, allocations: 3.252 MB / 0.7272 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003877/0.3722, allocations: 1.273 MB / 0.7285 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006286/0.3785, allocations: 1.304 MB / 0.7297 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003049/0.3816, allocations: 0.933 MB / 0.7306 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005944/0.3822, allocations: 100 kB / 0.7307 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005369/0.3876, allocations: 1.068 MB / 0.7318 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009385/0.3886, allocations: 286.8 kB / 0.7321 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002268/0.3909, allocations: 0.6761 MB / 0.7327 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00708/0.398, allocations: 1.975 MB / 0.7346 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.188e-05/0.3981, allocations: 0 / 0.7346 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.729e-06/0.3981, allocations: 0 / 0.7346 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.176e-05/0.3982, allocations: 0 / 0.7346 GB, free: 13.21 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.006247/0.4045, allocations: 1.709 MB / 0.7363 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/0.4046, allocations: 12.03 kB / 0.7363 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003903/0.405, allocations: 131.4 kB / 0.7365 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.4064, allocations: 211.1 kB / 0.7367 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/0.4108, allocations: 1.102 MB / 0.7377 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.411, allocations: 62 kB / 0.7378 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.4113, allocations: 88 kB / 0.7379 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/0.4144, allocations: 1.003 MB / 0.7389 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.4145, allocations: 3.938 kB / 0.7389 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.4146, allocations: 36 kB / 0.7389 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.4147, allocations: 24 kB / 0.7389 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.4172, allocations: 0.6477 MB / 0.7395 GB, free: 7.988 MB / 0.5762 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.01025/0.4274, allocations: 4.716 MB / 0.7442 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.4295, allocations: 395.1 kB / 0.7445 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009436/0.4305, allocations: 216.7 kB / 0.7447 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/0.432, allocations: 1.148 MB / 0.7459 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/0.4321, allocations: 42.5 kB / 0.7459 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 5.861e-06/0.4322, allocations: 0 / 0.7459 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.5821/1.014, allocations: 1.072 MB / 0.7469 GB, free: 85.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/1.014, allocations: 58.47 kB / 0.747 GB, free: 85.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005362/1.02, allocations: 0.9781 MB / 0.748 GB, free: 85.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001921/1.02, allocations: 35.39 kB / 0.748 GB, free: 85.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/1.021, allocations: 0.5784 MB / 0.7486 GB, free: 85.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/1.021, allocations: 105.5 kB / 0.7487 GB, free: 85.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005373/1.022, allocations: 114.3 kB / 0.7488 GB, free: 85.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.022, allocations: 324.7 kB / 0.7491 GB, free: 84.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/1.023, allocations: 201.8 kB / 0.7493 GB, free: 84.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/1.025, allocations: 407.1 kB / 0.7497 GB, free: 84.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/1.027, allocations: 0.6053 MB / 0.7502 GB, free: 84.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/1.027, allocations: 1.125 kB / 0.7502 GB, free: 84.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003347/1.03, allocations: 0.7609 MB / 0.751 GB, free: 84.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/1.03, allocations: 10.25 kB / 0.751 GB, free: 84.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/1.03, allocations: 6.188 kB / 0.751 GB, free: 84.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/1.031, allocations: 158 kB / 0.7512 GB, free: 83.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.032, allocations: 147.3 kB / 0.7513 GB, free: 83.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/1.034, allocations: 1.719 MB / 0.753 GB, free: 82.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/1.035, allocations: 89.89 kB / 0.7531 GB, free: 82.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/1.035, allocations: 30.64 kB / 0.7531 GB, free: 82.28 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000753/1.036, allocations: 270.6 kB / 0.7533 GB, free: 82.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004764/1.037, allocations: 107.8 kB / 0.7535 GB, free: 82.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003129/1.04, allocations: 0.7249 MB / 0.7542 GB, free: 81.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/1.04, allocations: 5.391 kB / 0.7542 GB, free: 81.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.04, allocations: 0 / 0.7542 GB, free: 81.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.04, allocations: 3.969 kB / 0.7542 GB, free: 81.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/1.046, allocations: 1.635 MB / 0.7558 GB, free: 80.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/1.046, allocations: 1.5 kB / 0.7558 GB, free: 80.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009569/1.047, allocations: 94.2 kB / 0.7559 GB, free: 80.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/1.048, allocations: 143.6 kB / 0.756 GB, free: 80.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/1.049, allocations: 11.58 kB / 0.756 GB, free: 80.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/1.05, allocations: 1.718 MB / 0.7577 GB, free: 79.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/1.05, allocations: 5.906 kB / 0.7577 GB, free: 79.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003348/1.053, allocations: 0.7774 MB / 0.7584 GB, free: 78.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.055, allocations: 246.2 kB / 0.7587 GB, free: 78.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004651/1.055, allocations: 11.69 kB / 0.7587 GB, free: 78.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.057, allocations: 45.28 kB / 0.7587 GB, free: 78.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.057, allocations: 34.47 kB / 0.7588 GB, free: 78.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.057, allocations: 21.88 kB / 0.7588 GB, free: 78.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002777/1.06, allocations: 0.6616 MB / 0.7594 GB, free: 78.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.51e-07/1.06, allocations: 0.5 kB / 0.7594 GB, free: 78.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00309/1.063, allocations: 375.3 kB / 0.7598 GB, free: 78.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00549/1.068, allocations: 1.627 MB / 0.7614 GB, free: 77.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003171/1.072, allocations: 0.5375 MB / 0.7619 GB, free: 77.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.072, allocations: 4 kB / 0.7619 GB, free: 77.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.073, allocations: 302 kB / 0.7622 GB, free: 77.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005415/1.079, allocations: 0.5142 MB / 0.7627 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02684/1.105, allocations: 7.285 MB / 0.7698 GB, free: 73.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/1.107, allocations: 1.108 MB / 0.7709 GB, free: 72.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00213/1.109, allocations: 194.6 kB / 0.7711 GB, free: 72.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.111, allocations: 417.1 kB / 0.7715 GB, free: 72.04 MB / 0.5762 GB Notification: Performance of SimCode: time 3.366e-06/1.111, allocations: 0 / 0.7715 GB, free: 72.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09794/1.209, allocations: 29.97 MB / 0.8008 GB, free: 49.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.95/22.16, allocations: 8.875 kB / 0.8008 GB, free: 49.58 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)