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.001049/0.001049, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001141/0.001141, allocations: 193.1 kB / 17.34 MB, free: 5.719 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7077/0.7077, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 64.83 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6139/0.7636, allocations: 171 MB / 0.7986 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006287/0.77, allocations: 4.297 MB / 0.8028 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.7711, allocations: 21.47 kB / 0.8028 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.7723, allocations: 355.4 kB / 0.8032 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.7757, allocations: 1.224 MB / 0.8044 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.7777, allocations: 0.7952 MB / 0.8051 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002276/0.78, allocations: 1.702 MB / 0.8068 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000955/0.781, allocations: 0.5544 MB / 0.8073 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.7825, allocations: 0.6926 MB / 0.808 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.784, allocations: 0.5516 MB / 0.8085 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.7842, allocations: 64.53 kB / 0.8086 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.7862, allocations: 0.8001 MB / 0.8094 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004946/0.7867, allocations: 273.5 kB / 0.8097 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009187/0.7876, allocations: 406.9 kB / 0.81 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.7898, allocations: 1.266 MB / 0.8113 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7899, allocations: 0 / 0.8113 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7899, allocations: 4 kB / 0.8113 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.706e-05/0.7899, allocations: 0 / 0.8113 GB, free: 9.898 MB / 0.5919 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.002363/0.7923, allocations: 1.035 MB / 0.8123 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.7923, allocations: 7.875 kB / 0.8123 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.7925, allocations: 99.27 kB / 0.8124 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.7937, allocations: 158 kB / 0.8125 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.7948, allocations: 0.5516 MB / 0.8131 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.7948, allocations: 44.5 kB / 0.8131 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.51e-05/0.7949, allocations: 52.59 kB / 0.8132 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.7961, allocations: 0.6444 MB / 0.8138 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.7961, allocations: 0 / 0.8138 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.561e-05/0.7962, allocations: 34.58 kB / 0.8138 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.7962, allocations: 21.34 kB / 0.8139 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000981/0.7972, allocations: 0.5134 MB / 0.8144 GB, free: 8.164 MB / 0.5919 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.003695/0.8009, allocations: 2.294 MB / 0.8166 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.8015, allocations: 250.9 kB / 0.8168 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.8017, allocations: 139.2 kB / 0.817 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.8018, allocations: 13.81 kB / 0.817 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.8018, allocations: 33.88 kB / 0.817 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.744e-06/0.8018, allocations: 0 / 0.817 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.001687/0.8035, allocations: 0.6777 MB / 0.8177 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.8036, allocations: 77.11 kB / 0.8178 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/0.8042, allocations: 0.559 MB / 0.8183 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.8043, allocations: 31.48 kB / 0.8183 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.8045, allocations: 331.9 kB / 0.8186 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.8046, allocations: 73.28 kB / 0.8187 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.8048, allocations: 69.84 kB / 0.8188 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.8049, allocations: 367.3 kB / 0.8191 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.8052, allocations: 129.8 kB / 0.8193 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.8055, allocations: 218.6 kB / 0.8195 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.806, allocations: 331 kB / 0.8198 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.806, allocations: 0 / 0.8198 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009161/0.8069, allocations: 0.4937 MB / 0.8203 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.807, allocations: 7.531 kB / 0.8203 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.807, allocations: 0 / 0.8203 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.8073, allocations: 93.23 kB / 0.8204 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.8076, allocations: 74.88 kB / 0.8204 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.8108, allocations: 3.339 MB / 0.8237 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.8113, allocations: 50.34 kB / 0.8237 GB, free: 328 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.8114, allocations: 18.08 kB / 0.8238 GB, free: 320 kB / 0.5919 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.0002768/0.8116, allocations: 211 kB / 0.824 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.8118, allocations: 54.81 kB / 0.824 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.87e-05/0.8119, allocations: 58.28 kB / 0.8241 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.8119, allocations: 3.031 kB / 0.8241 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.8119, allocations: 7.938 kB / 0.8241 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007165/0.8126, allocations: 0.5271 MB / 0.8246 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.8141, allocations: 0.9178 MB / 0.8255 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.8141, allocations: 2.625 kB / 0.8255 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.8143, allocations: 42.45 kB / 0.8255 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/0.8145, allocations: 69.17 kB / 0.8256 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.8145, allocations: 6.75 kB / 0.8256 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.8163, allocations: 1.819 MB / 0.8274 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8163, allocations: 2.531 kB / 0.8274 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.817, allocations: 439 kB / 0.8278 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.8173, allocations: 163 kB / 0.828 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.8174, allocations: 15.02 kB / 0.828 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.8178, allocations: 24.61 kB / 0.828 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.8179, allocations: 19.48 kB / 0.828 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.818, allocations: 14.11 kB / 0.828 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004568/0.8184, allocations: 400.9 kB / 0.8284 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8184, allocations: 6.406 kB / 0.8284 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007108/0.8191, allocations: 203 kB / 0.8286 GB, free: 12.38 MB / 0.6075 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.001192/0.8203, allocations: 1.037 MB / 0.8296 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000934/0.8213, allocations: 0.5256 MB / 0.8301 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8213, allocations: 3.375 kB / 0.8301 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.8217, allocations: 260.3 kB / 0.8304 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.8234, allocations: 365.6 kB / 0.8307 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006071/0.8295, allocations: 4.454 MB / 0.8351 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.83, allocations: 0.9142 MB / 0.836 GB, free: 7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004717/0.8305, allocations: 106.7 kB / 0.8361 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.8308, allocations: 191.9 kB / 0.8363 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of SimCode: time 7.42e-07/0.8308, allocations: 4 kB / 0.8363 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04616/0.877, allocations: 18.07 MB / 0.8539 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.59, allocations: 9.469 kB / 0.8539 GB, free: 7.082 MB / 0.6231 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)