Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 387.1 MB / 399.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 184.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008898/0.0008901, allocations: 89.86 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.696e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2585, allocations: 142.4 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.323, allocations: 419.5 MB / 1.622 GB, free: 10.08 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/1.323, allocations: 95.75 kB / 1.622 GB, free: 10.03 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.811/6.134, allocations: 1.338 GB / 2.96 GB, free: 113.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.953e-06/6.134, allocations: 3.938 kB / 2.96 GB, free: 113.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006536/6.135, allocations: 91.95 kB / 2.96 GB, free: 113.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01171/6.146, allocations: 3.117 MB / 2.963 GB, free: 110.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/6.146, allocations: 11.97 kB / 2.963 GB, free: 110.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001106/6.148, allocations: 232 kB / 2.963 GB, free: 110.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003938/6.152, allocations: 0.6203 MB / 2.964 GB, free: 109.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/6.164, allocations: 4.366 MB / 2.968 GB, free: 105.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/6.164, allocations: 143.1 kB / 2.968 GB, free: 105.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006067/6.165, allocations: 184 kB / 2.968 GB, free: 105 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004267/6.169, allocations: 2.183 MB / 2.97 GB, free: 102.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.157e-05/6.169, allocations: 0 / 2.97 GB, free: 102.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/6.169, allocations: 79.92 kB / 2.971 GB, free: 102.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/6.17, allocations: 44 kB / 2.971 GB, free: 102.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/6.172, allocations: 1.678 MB / 2.972 GB, free: 100.9 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.01401/6.186, allocations: 11.57 MB / 2.984 GB, free: 88.63 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/6.188, allocations: 1.191 MB / 2.985 GB, free: 87.43 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/6.189, allocations: 0.9009 MB / 2.986 GB, free: 86.52 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005618/6.195, allocations: 3.493 MB / 2.989 GB, free: 82.75 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009268/6.196, allocations: 0.693 MB / 2.99 GB, free: 82.04 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002221/6.198, allocations: 0.6077 MB / 2.99 GB, free: 81.43 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 4.989e-06/6.198, allocations: 4 kB / 2.99 GB, free: 81.43 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.003021/6.201, allocations: 1.796 MB / 2.992 GB, free: 79.62 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/6.201, allocations: 60.19 kB / 2.992 GB, free: 79.55 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003984/6.205, allocations: 2.467 MB / 2.994 GB, free: 77.08 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/6.205, allocations: 61.7 kB / 2.995 GB, free: 77.02 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001151/6.206, allocations: 1.428 MB / 2.996 GB, free: 75.57 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/6.207, allocations: 343 kB / 2.996 GB, free: 75.23 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/6.207, allocations: 32 kB / 2.996 GB, free: 75.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001134/6.207, allocations: 361.9 kB / 2.997 GB, free: 74.84 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007665/6.208, allocations: 0.5155 MB / 2.997 GB, free: 74.33 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/6.209, allocations: 1.29 MB / 2.998 GB, free: 72.68 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000996/6.21, allocations: 0.7369 MB / 2.999 GB, free: 71.94 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/6.21, allocations: 4 kB / 2.999 GB, free: 71.93 MB / 1.167 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003649/6.213, allocations: 2.375 MB / 3.001 GB, free: 69.54 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001075/6.214, allocations: 5.984 MB / 3.007 GB, free: 63 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/6.215, allocations: 15.98 kB / 3.007 GB, free: 62.98 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/6.216, allocations: 0.5054 MB / 3.008 GB, free: 62.47 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/6.217, allocations: 281.3 kB / 3.008 GB, free: 62.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/6.218, allocations: 1.882 MB / 3.01 GB, free: 60.26 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/6.221, allocations: 192.1 kB / 3.01 GB, free: 60.07 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/6.221, allocations: 79.97 kB / 3.01 GB, free: 60 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/6.221, allocations: 4 kB / 3.01 GB, free: 59.99 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002921/6.224, allocations: 2.145 MB / 3.012 GB, free: 57.82 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/6.224, allocations: 16 kB / 3.012 GB, free: 57.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007835/6.224, allocations: 469.4 kB / 3.013 GB, free: 57.34 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009716/6.225, allocations: 265.5 kB / 3.013 GB, free: 57.07 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/6.231, allocations: 5.827 MB / 3.019 GB, free: 50.96 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/6.234, allocations: 184.2 kB / 3.019 GB, free: 50.78 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/6.234, allocations: 67.98 kB / 3.019 GB, free: 50.71 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004169/6.234, allocations: 198 kB / 3.019 GB, free: 50.52 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007226/6.235, allocations: 296.2 kB / 3.019 GB, free: 50.22 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/6.239, allocations: 2.125 MB / 3.021 GB, free: 48.09 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/6.239, allocations: 11.98 kB / 3.021 GB, free: 48.07 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/6.239, allocations: 3.953 kB / 3.021 GB, free: 48.07 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002324/6.241, allocations: 1.819 MB / 3.023 GB, free: 46.18 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008854/6.25, allocations: 4.106 MB / 3.027 GB, free: 41.99 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/6.25, allocations: 0 / 3.027 GB, free: 41.99 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007268/6.251, allocations: 141.6 kB / 3.027 GB, free: 41.85 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/6.252, allocations: 481.1 kB / 3.028 GB, free: 41.38 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.68e-05/6.252, allocations: 27.98 kB / 3.028 GB, free: 41.35 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/6.253, allocations: 1.842 MB / 3.03 GB, free: 39.45 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/6.253, allocations: 0 / 3.03 GB, free: 39.45 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/6.257, allocations: 2.807 MB / 3.032 GB, free: 36.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/6.258, allocations: 0.4894 MB / 3.033 GB, free: 36.09 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006949/6.259, allocations: 20 kB / 3.033 GB, free: 36.07 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/6.261, allocations: 151.6 kB / 3.033 GB, free: 35.92 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/6.261, allocations: 64.91 kB / 3.033 GB, free: 35.86 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/6.261, allocations: 39.97 kB / 3.033 GB, free: 35.82 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002976/6.264, allocations: 1.914 MB / 3.035 GB, free: 33.91 MB / 1.167 GB Notification: Performance of sort global known variables: time 2e-07/6.264, allocations: 0 / 3.035 GB, free: 33.91 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004978/6.269, allocations: 1.455 MB / 3.036 GB, free: 32.45 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.005249/6.274, allocations: 4.242 MB / 3.041 GB, free: 28.22 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004342/6.279, allocations: 2.882 MB / 3.043 GB, free: 25.29 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/6.279, allocations: 0 / 3.043 GB, free: 25.29 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009147/6.28, allocations: 0.6641 MB / 3.044 GB, free: 24.63 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005501/6.285, allocations: 1.177 MB / 3.045 GB, free: 23.49 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009582/6.295, allocations: 4.625 MB / 3.05 GB, free: 18.82 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/6.296, allocations: 2.112 MB / 3.052 GB, free: 16.69 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005029/6.302, allocations: 1.455 MB / 3.053 GB, free: 15.26 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/6.303, allocations: 1.105 MB / 3.054 GB, free: 14.16 MB / 1.167 GB Notification: Performance of SimCode: time 1.022e-06/6.303, allocations: 0 / 3.054 GB, free: 14.16 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8434/7.146, allocations: 90.15 MB / 3.142 GB, free: 227 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/7.146, allocations: 221.7 kB / 3.143 GB, free: 226.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.667/12.81, allocations: 0 / 3.143 GB, free: 226.8 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat does not exist to compare? outputFormat=mat