Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.158/2.158, allocations: 390.3 MB / 402.8 MB, free: 6.594 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.001324/0.001324, allocations: 176.8 kB / 496.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.3 MB / 0.7915 GB, free: 5.352 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.0009734/0.0009734, allocations: 99.16 kB / 0.9318 GB, free: 5.664 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.495e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2884, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.818/6.107, allocations: 2.2 GB / 3.419 GB, free: 64.27 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/6.107, allocations: 92.64 kB / 3.419 GB, free: 64.18 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 11.9/18, allocations: 2.887 GB / 6.306 GB, free: 142 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.244e-06/18, allocations: 2.469 kB / 6.306 GB, free: 142 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003088/18.01, allocations: 394 kB / 6.306 GB, free: 141.9 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2975 * Number of variables: 2975 Notification: Performance of Generate backend data structure: time 0.04473/18.05, allocations: 12.19 MB / 6.318 GB, free: 137.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/18.05, allocations: 13.62 kB / 6.318 GB, free: 137.4 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008382/18.06, allocations: 1.54 MB / 6.32 GB, free: 137.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02408/18.09, allocations: 3.091 MB / 6.323 GB, free: 136.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06203/18.15, allocations: 18.74 MB / 6.341 GB, free: 134.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001267/18.15, allocations: 0.8331 MB / 6.342 GB, free: 134.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006218/18.15, allocations: 1.114 MB / 6.343 GB, free: 134.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04996/18.2, allocations: 16.1 MB / 6.359 GB, free: 133.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001217/18.21, allocations: 45.25 kB / 6.359 GB, free: 133.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006972/18.21, allocations: 488.1 kB / 6.359 GB, free: 133.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000666/18.21, allocations: 0.576 MB / 6.36 GB, free: 133.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03597/18.25, allocations: 13.85 MB / 6.373 GB, free: 133 MB / 1.198 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.1216/18.37, allocations: 63.65 MB / 6.435 GB, free: 110.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/18.39, allocations: 9.578 MB / 6.445 GB, free: 110.1 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009473/18.4, allocations: 5.151 MB / 6.45 GB, free: 110 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002815/18.4, allocations: 2.385 MB / 6.452 GB, free: 107.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01139/18.41, allocations: 5.311 MB / 6.457 GB, free: 107 MB / 1.198 GB Notification: Performance of pre-optimization done (n=706): time 1.189e-05/18.41, allocations: 0 / 6.457 GB, free: 107 MB / 1.198 GB Notification: Performance of matching and sorting (n=706): time 0.02304/18.44, allocations: 8.947 MB / 6.466 GB, free: 103.6 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/18.44, allocations: 363.4 kB / 6.466 GB, free: 103.2 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02588/18.46, allocations: 11.21 MB / 6.477 GB, free: 99.39 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002808/18.46, allocations: 170.3 kB / 6.478 GB, free: 99.25 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01043/18.47, allocations: 6.344 MB / 6.484 GB, free: 94.4 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004399/18.48, allocations: 2.455 MB / 6.486 GB, free: 92.52 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001935/18.48, allocations: 174.7 kB / 6.486 GB, free: 92.38 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0009305/18.48, allocations: 0.6525 MB / 6.487 GB, free: 91.92 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008162/18.49, allocations: 4.158 MB / 6.491 GB, free: 90.37 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/18.5, allocations: 6.445 MB / 6.497 GB, free: 86.11 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/18.51, allocations: 5.376 MB / 6.503 GB, free: 84.22 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/18.51, allocations: 19.44 kB / 6.503 GB, free: 84.22 MB / 1.198 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.03036/18.54, allocations: 12.11 MB / 6.514 GB, free: 80.11 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.006401/18.55, allocations: 37.47 MB / 6.551 GB, free: 41.53 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/18.55, allocations: 63.41 kB / 6.551 GB, free: 41.53 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008509/18.55, allocations: 198.5 kB / 6.551 GB, free: 41.52 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01251/18.56, allocations: 2.368 MB / 6.554 GB, free: 41.42 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/18.56, allocations: 1.676 MB / 6.555 GB, free: 55.99 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01675/18.58, allocations: 1.619 MB / 6.557 GB, free: 55.22 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002549/18.58, allocations: 424.1 kB / 6.557 GB, free: 55.15 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/18.58, allocations: 3.375 kB / 6.557 GB, free: 55.15 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0289/18.61, allocations: 11.13 MB / 6.568 GB, free: 51.07 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002273/18.61, allocations: 62.28 kB / 6.568 GB, free: 51.07 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007293/18.61, allocations: 200.5 kB / 6.568 GB, free: 51.05 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01208/18.63, allocations: 2.365 MB / 6.571 GB, free: 50.83 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/18.63, allocations: 1.678 MB / 6.572 GB, free: 49.37 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01726/18.65, allocations: 1.44 MB / 6.574 GB, free: 48.71 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003411/18.65, allocations: 434 kB / 6.574 GB, free: 48.64 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1097): * Single equations (assignments): 1096 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005086/18.65, allocations: 0.6199 MB / 6.575 GB, free: 48.12 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005681/18.66, allocations: 1.124 MB / 6.576 GB, free: 47.54 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02861/18.69, allocations: 10.69 MB / 6.586 GB, free: 40.61 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.262e-05/18.69, allocations: 68 kB / 6.586 GB, free: 40.54 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.959e-05/18.69, allocations: 0 / 6.586 GB, free: 40.54 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01943/18.71, allocations: 8.313 MB / 6.594 GB, free: 33.22 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06728/18.78, allocations: 25.52 MB / 6.619 GB, free: 12.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/18.78, allocations: 16 kB / 6.619 GB, free: 12.89 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0115/18.79, allocations: 1.73 MB / 6.621 GB, free: 11.51 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006913/18.79, allocations: 123.1 kB / 6.621 GB, free: 11.41 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002121/18.79, allocations: 241.1 kB / 6.621 GB, free: 11.23 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/18.79, allocations: 1.596 MB / 6.623 GB, free: 9.562 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/18.79, allocations: 19.88 kB / 6.623 GB, free: 9.543 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04961/18.84, allocations: 19.28 MB / 6.642 GB, free: 10.68 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01271/18.85, allocations: 3.079 MB / 6.645 GB, free: 8.07 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006017/18.86, allocations: 165.8 kB / 6.645 GB, free: 7.918 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01457/18.87, allocations: 0.8444 MB / 6.646 GB, free: 7.289 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00203/18.88, allocations: 455.7 kB / 6.646 GB, free: 6.992 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002389/18.88, allocations: 379.5 kB / 6.647 GB, free: 6.715 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.8234/19.7, allocations: 8.898 MB / 6.655 GB, free: 164.6 MB / 1.229 GB Notification: Performance of sort global known variables: time 9.52e-07/19.7, allocations: 1.188 kB / 6.655 GB, free: 164.6 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.03415/19.74, allocations: 7.18 MB / 6.662 GB, free: 164.6 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (732): * Single equations (assignments): 719 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.04518/19.78, allocations: 21.84 MB / 6.684 GB, free: 158.6 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.03677/19.82, allocations: 16.3 MB / 6.7 GB, free: 158.2 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 5.274e-05/19.82, allocations: 14.86 kB / 6.7 GB, free: 158.2 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01077/19.83, allocations: 4.615 MB / 6.704 GB, free: 158 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03898/19.87, allocations: 6.893 MB / 6.711 GB, free: 157.9 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08234/19.95, allocations: 29.66 MB / 6.74 GB, free: 153 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01399/19.97, allocations: 8.755 MB / 6.748 GB, free: 152 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.04432/20.01, allocations: 11.33 MB / 6.759 GB, free: 150.8 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0146/20.02, allocations: 5.866 MB / 6.765 GB, free: 150.8 MB / 1.229 GB Notification: Performance of SimCode: time 1.513e-06/20.02, allocations: 0 / 6.765 GB, free: 150.8 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.31/21.33, allocations: 385.4 MB / 7.141 GB, free: 179.2 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/21.33, allocations: 247.9 kB / 7.142 GB, free: 178.9 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/38.28, allocations: 3.688 kB / 7.142 GB, free: 178.9 MB / 1.292 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat does not exist to compare? outputFormat=mat