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.005868/0.005869, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001202/0.001202, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7782/0.7782, allocations: 132.2 MB / 422.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 76.06 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1921, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.06653/0.2587, allocations: 49.76 MB / 0.7078 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.2771, allocations: 12.65 MB / 0.7201 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.2798, allocations: 79.56 kB / 0.7202 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.2823, allocations: 0.7682 MB / 0.721 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005407/0.2877, allocations: 1.909 MB / 0.7228 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.2915, allocations: 1.361 MB / 0.7241 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00501/0.2965, allocations: 3.266 MB / 0.7273 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.2989, allocations: 1.265 MB / 0.7286 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.3026, allocations: 1.321 MB / 0.7299 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.3045, allocations: 0.933 MB / 0.7308 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003812/0.3048, allocations: 96 kB / 0.7309 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.3077, allocations: 1.068 MB / 0.7319 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005068/0.3082, allocations: 290.8 kB / 0.7322 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.3095, allocations: 0.6684 MB / 0.7328 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003566/0.3131, allocations: 1.983 MB / 0.7348 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3131, allocations: 0 / 0.7348 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3131, allocations: 0 / 0.7348 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.558e-05/0.3132, allocations: 0 / 0.7348 GB, free: 13.13 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.003122/0.3163, allocations: 1.703 MB / 0.7364 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3164, allocations: 12.03 kB / 0.7365 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.3166, allocations: 135.4 kB / 0.7366 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006316/0.3172, allocations: 203.1 kB / 0.7368 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.3193, allocations: 1.103 MB / 0.7379 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-05/0.3194, allocations: 62 kB / 0.7379 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-05/0.3195, allocations: 80 kB / 0.738 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.3211, allocations: 1.007 MB / 0.739 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.3211, allocations: 4 kB / 0.739 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/0.3212, allocations: 36 kB / 0.739 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.3212, allocations: 27.94 kB / 0.739 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.3225, allocations: 0.6516 MB / 0.7397 GB, free: 7.918 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.004948/0.3275, allocations: 4.718 MB / 0.7443 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.3285, allocations: 399.1 kB / 0.7447 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.329, allocations: 212.7 kB / 0.7449 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008496/0.3299, allocations: 1.144 MB / 0.746 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3299, allocations: 34.56 kB / 0.746 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.074e-06/0.3299, allocations: 0 / 0.746 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.2991/0.6291, allocations: 1.074 MB / 0.7471 GB, free: 85.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.6292, allocations: 64.28 kB / 0.7471 GB, free: 85.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.6307, allocations: 0.978 MB / 0.7481 GB, free: 85.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/0.6308, allocations: 34.2 kB / 0.7481 GB, free: 85.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.6312, allocations: 0.5841 MB / 0.7487 GB, free: 85.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.6313, allocations: 106.6 kB / 0.7488 GB, free: 85.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.6315, allocations: 111.9 kB / 0.7489 GB, free: 85.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.538e-05/0.6316, allocations: 324.5 kB / 0.7492 GB, free: 84.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.6321, allocations: 201.3 kB / 0.7494 GB, free: 84.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.6327, allocations: 408.3 kB / 0.7498 GB, free: 84.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.6338, allocations: 0.5987 MB / 0.7504 GB, free: 84.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.6338, allocations: 3.25 kB / 0.7504 GB, free: 84.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001693/0.6355, allocations: 0.7618 MB / 0.7511 GB, free: 84.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.6356, allocations: 7.859 kB / 0.7511 GB, free: 84.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.6356, allocations: 6.625 kB / 0.7511 GB, free: 84.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006965/0.6363, allocations: 161.3 kB / 0.7513 GB, free: 84.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.6369, allocations: 146.3 kB / 0.7514 GB, free: 84.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000776/0.6377, allocations: 1.719 MB / 0.7531 GB, free: 82.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/0.6383, allocations: 87.38 kB / 0.7532 GB, free: 82.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.6384, allocations: 30.23 kB / 0.7532 GB, free: 82.36 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.0003735/0.6387, allocations: 273 kB / 0.7535 GB, free: 82.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.6389, allocations: 108.2 kB / 0.7536 GB, free: 82.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.6406, allocations: 0.7252 MB / 0.7543 GB, free: 81.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.6407, allocations: 5.828 kB / 0.7543 GB, free: 81.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6407, allocations: 0 / 0.7543 GB, free: 81.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.6407, allocations: 2.672 kB / 0.7543 GB, free: 81.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.6436, allocations: 1.635 MB / 0.7559 GB, free: 81.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.6436, allocations: 1.906 kB / 0.7559 GB, free: 81.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004485/0.644, allocations: 95.55 kB / 0.756 GB, free: 81.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005487/0.6446, allocations: 140.2 kB / 0.7561 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.6446, allocations: 16.58 kB / 0.7561 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007683/0.6454, allocations: 1.717 MB / 0.7578 GB, free: 79.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6454, allocations: 6.422 kB / 0.7578 GB, free: 79.33 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.647, allocations: 0.7744 MB / 0.7586 GB, free: 78.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.6473, allocations: 248.4 kB / 0.7588 GB, free: 78.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/0.6474, allocations: 7.875 kB / 0.7588 GB, free: 78.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.648, allocations: 44.88 kB / 0.7589 GB, free: 78.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.6481, allocations: 35.38 kB / 0.7589 GB, free: 78.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.6481, allocations: 21.91 kB / 0.7589 GB, free: 78.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001121/0.6492, allocations: 0.6577 MB / 0.7596 GB, free: 78.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6493, allocations: 0.5938 kB / 0.7596 GB, free: 78.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001311/0.6506, allocations: 373.1 kB / 0.7599 GB, free: 78.38 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.002497/0.6531, allocations: 1.629 MB / 0.7615 GB, free: 77.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.6546, allocations: 0.5378 MB / 0.762 GB, free: 77.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6546, allocations: 4.094 kB / 0.762 GB, free: 77.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008158/0.6554, allocations: 308 kB / 0.7623 GB, free: 77.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.6575, allocations: 0.5189 MB / 0.7628 GB, free: 77.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.6683, allocations: 7.283 MB / 0.7699 GB, free: 73.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.6689, allocations: 1.107 MB / 0.771 GB, free: 72.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008864/0.6698, allocations: 194 kB / 0.7712 GB, free: 72.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/0.6703, allocations: 417.9 kB / 0.7716 GB, free: 72.14 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/0.6703, allocations: 1.156 kB / 0.7716 GB, free: 72.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04866/0.7189, allocations: 29.49 MB / 0.8004 GB, free: 50.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.46, allocations: 4.875 kB / 0.8004 GB, free: 50.06 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)