Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.000785/0.000785, allocations: 99.2 kB / 16.02 MB, free: 80 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.0009075/0.0009074, allocations: 182.5 kB / 16.92 MB, free: 6.707 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.684/0.684, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 16.48 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 77.53 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4675/0.6181, allocations: 166.6 MB / 0.7227 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00605/0.6242, allocations: 4.306 MB / 0.7269 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006896/0.6249, allocations: 15.88 kB / 0.7269 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009698/0.6259, allocations: 302.5 kB / 0.7272 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.6287, allocations: 1.152 MB / 0.7283 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.6305, allocations: 0.7215 MB / 0.7291 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002528/0.633, allocations: 2.362 MB / 0.7314 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008052/0.6338, allocations: 473.5 kB / 0.7318 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.635, allocations: 0.5718 MB / 0.7324 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.6364, allocations: 0.566 MB / 0.7329 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.6365, allocations: 24 kB / 0.7329 GB, free: 5.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.6381, allocations: 0.9079 MB / 0.7338 GB, free: 4.746 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.6385, allocations: 227.3 kB / 0.734 GB, free: 4.523 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004968/0.639, allocations: 384 kB / 0.7344 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.6405, allocations: 1.265 MB / 0.7356 GB, free: 2.871 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6406, allocations: 0 / 0.7356 GB, free: 2.871 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6406, allocations: 0 / 0.7356 GB, free: 2.871 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.037e-05/0.6406, allocations: 3.938 kB / 0.7357 GB, free: 2.867 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001997/0.6426, allocations: 0.9048 MB / 0.7365 GB, free: 1.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6427, allocations: 8.031 kB / 0.7365 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002182/0.6429, allocations: 98.52 kB / 0.7366 GB, free: 1.797 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.6441, allocations: 163 kB / 0.7368 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008761/0.6449, allocations: 0.521 MB / 0.7373 GB, free: 1.078 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.645, allocations: 41.31 kB / 0.7373 GB, free: 1.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.6451, allocations: 52 kB / 0.7374 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.6463, allocations: 0.6557 MB / 0.738 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.6463, allocations: 4 kB / 0.738 GB, free: 320 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.6463, allocations: 24 kB / 0.7381 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/0.6464, allocations: 21.31 kB / 0.7381 GB, free: 272 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009927/0.6474, allocations: 0.5282 MB / 0.7386 GB, free: 15.73 MB / 0.5606 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.003706/0.6511, allocations: 2.309 MB / 0.7408 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.6517, allocations: 258.8 kB / 0.7411 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.652, allocations: 147.8 kB / 0.7412 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.652, allocations: 3.984 kB / 0.7412 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.6521, allocations: 38.56 kB / 0.7413 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.6521, allocations: 0 / 0.7413 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.001836/0.6539, allocations: 0.6982 MB / 0.742 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.654, allocations: 77.11 kB / 0.742 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008006/0.6548, allocations: 0.5613 MB / 0.7426 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.6549, allocations: 33.7 kB / 0.7426 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.6551, allocations: 331.1 kB / 0.7429 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.6552, allocations: 71 kB / 0.743 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.6553, allocations: 29.7 kB / 0.743 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6554, allocations: 362.7 kB / 0.7434 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.6557, allocations: 136.6 kB / 0.7435 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.656, allocations: 223.2 kB / 0.7437 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.6566, allocations: 344.4 kB / 0.744 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6566, allocations: 4 kB / 0.744 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009213/0.6575, allocations: 0.4945 MB / 0.7445 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.6575, allocations: 5.875 kB / 0.7445 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6575, allocations: 4.281 kB / 0.7445 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.6579, allocations: 97.59 kB / 0.7446 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.6582, allocations: 75.89 kB / 0.7447 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.6612, allocations: 3.11 MB / 0.7477 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.6617, allocations: 67.42 kB / 0.7478 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.6618, allocations: 12 kB / 0.7478 GB, free: 5.652 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002718/0.6621, allocations: 221.6 kB / 0.748 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.6622, allocations: 55.38 kB / 0.7481 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.6623, allocations: 56.5 kB / 0.7481 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.6623, allocations: 8 kB / 0.7481 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6623, allocations: 0 / 0.7481 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007324/0.663, allocations: 0.5461 MB / 0.7487 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.6644, allocations: 0.9221 MB / 0.7496 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6644, allocations: 0 / 0.7496 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.6646, allocations: 48.03 kB / 0.7496 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.6648, allocations: 68.69 kB / 0.7497 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.6648, allocations: 7.984 kB / 0.7497 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.6664, allocations: 1.691 MB / 0.7513 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6664, allocations: 0.8594 kB / 0.7513 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.6671, allocations: 443 kB / 0.7518 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.6673, allocations: 172.3 kB / 0.7519 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/0.6674, allocations: 4 kB / 0.7519 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.6679, allocations: 40.19 kB / 0.752 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.668, allocations: 19.91 kB / 0.752 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.668, allocations: 19.98 kB / 0.752 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004321/0.6685, allocations: 394.8 kB / 0.7524 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6685, allocations: 4 kB / 0.7524 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006432/0.6691, allocations: 211.5 kB / 0.7526 GB, free: 448 kB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001189/0.6703, allocations: 1.038 MB / 0.7536 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008878/0.6712, allocations: 0.5405 MB / 0.7541 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6712, allocations: 0 / 0.7541 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.6716, allocations: 255.2 kB / 0.7544 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.6734, allocations: 363 kB / 0.7547 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006024/0.6794, allocations: 4.795 MB / 0.7594 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.6799, allocations: 0.9132 MB / 0.7603 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004177/0.6803, allocations: 120.9 kB / 0.7604 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.6806, allocations: 195.3 kB / 0.7606 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.6806, allocations: 0 / 0.7606 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.7131, allocations: 16.68 MB / 0.7769 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/0.7134, allocations: 290.7 kB / 0.7772 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/3.033, allocations: 0 / 0.7772 GB, free: 7.324 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)