Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.0009186/0.0009185, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001327/0.001328, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.62/2.62, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003825, allocations: 15.98 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7827, allocations: 146.8 MB / 0.9811 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002041/0.7848, allocations: 1.573 MB / 0.9827 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.7884, allocations: 3.238 MB / 0.9858 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.974e-05/0.7886, allocations: 3.938 kB / 0.9858 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.7888, allocations: 35.81 kB / 0.9859 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.7892, allocations: 123.4 kB / 0.986 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.491e-05/0.7893, allocations: 19.98 kB / 0.986 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.7895, allocations: 171.2 kB / 0.9862 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.7896, allocations: 17.69 kB / 0.9862 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.7897, allocations: 83.62 kB / 0.9863 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.7899, allocations: 71.69 kB / 0.9863 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.7899, allocations: 4 kB / 0.9863 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-05/0.79, allocations: 23.92 kB / 0.9864 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.7901, allocations: 35.89 kB / 0.9864 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.7901, allocations: 53.58 kB / 0.9865 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.7903, allocations: 111.7 kB / 0.9866 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7903, allocations: 0 / 0.9866 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7903, allocations: 0 / 0.9866 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.7903, allocations: 0 / 0.9866 GB, free: 0.6289 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007978/0.7911, allocations: 0.4906 MB / 0.987 GB, free: 92 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.7912, allocations: 8.031 kB / 0.987 GB, free: 84 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.7912, allocations: 46.55 kB / 0.9871 GB, free: 28 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.7913, allocations: 19.72 kB / 0.9871 GB, free: 8 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.7916, allocations: 241.8 kB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.7916, allocations: 3.906 kB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.7917, allocations: 7.953 kB / 0.9873 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.792, allocations: 158.4 kB / 0.9875 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.792, allocations: 0 / 0.9875 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.7921, allocations: 8 kB / 0.9875 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.7921, allocations: 8 kB / 0.9875 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.7925, allocations: 163.8 kB / 0.9877 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.7931, allocations: 456.6 kB / 0.9881 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.7935, allocations: 181.1 kB / 0.9883 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.7938, allocations: 112.8 kB / 0.9884 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.7938, allocations: 4 kB / 0.9884 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.7938, allocations: 38.5 kB / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.7938, allocations: 0 / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008005/0.7946, allocations: 313.6 kB / 0.9887 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.7947, allocations: 59.39 kB / 0.9888 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.7949, allocations: 213 kB / 0.989 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.7949, allocations: 25.7 kB / 0.989 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.795, allocations: 120.1 kB / 0.9891 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.7951, allocations: 51.34 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.7951, allocations: 0 / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7952, allocations: 338.7 kB / 0.9895 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.7954, allocations: 87.94 kB / 0.9896 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.7956, allocations: 87.88 kB / 0.9897 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.7958, allocations: 90.81 kB / 0.9898 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7959, allocations: 0 / 0.9898 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004952/0.7964, allocations: 225.4 kB / 0.99 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7964, allocations: 4 kB / 0.99 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.7964, allocations: 0 / 0.99 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.7964, allocations: 4 kB / 0.99 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.7967, allocations: 39.95 kB / 0.99 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.7967, allocations: 4 kB / 0.99 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.7968, allocations: 27.83 kB / 0.99 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.7969, allocations: 3.938 kB / 0.99 GB, free: 12.83 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.797, allocations: 137.7 kB / 0.9902 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.797, allocations: 15.81 kB / 0.9902 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.011e-05/0.7971, allocations: 29.83 kB / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7971, allocations: 0 / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.7971, allocations: 4 kB / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7971, allocations: 0 / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.7974, allocations: 265.4 kB / 0.9905 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7974, allocations: 0 / 0.9905 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.7976, allocations: 39.95 kB / 0.9905 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.7976, allocations: 0 / 0.9905 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.7976, allocations: 8 kB / 0.9905 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.7976, allocations: 0 / 0.9905 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7976, allocations: 3.938 kB / 0.9905 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.7982, allocations: 331.2 kB / 0.9908 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.7983, allocations: 120.7 kB / 0.991 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.7983, allocations: 0 / 0.991 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.7985, allocations: 15.98 kB / 0.991 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.7986, allocations: 19.97 kB / 0.991 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.7986, allocations: 4 kB / 0.991 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001325/0.7987, allocations: 152.5 kB / 0.9911 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7987, allocations: 0 / 0.9911 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002667/0.799, allocations: 36 kB / 0.9912 GB, free: 11.58 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000817/0.7998, allocations: 0.8762 MB / 0.992 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004834/0.8003, allocations: 198.5 kB / 0.9922 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8003, allocations: 0 / 0.9922 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.8006, allocations: 99.92 kB / 0.9923 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.801, allocations: 28.36 kB / 0.9923 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.803, allocations: 1.32 MB / 0.9936 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.8033, allocations: 0.7316 MB / 0.9943 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.8035, allocations: 52.58 kB / 0.9944 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.282e-05/0.8036, allocations: 47.42 kB / 0.9944 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.8036, allocations: 0 / 0.9944 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.818, allocations: 3.516 MB / 0.9979 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.8182, allocations: 208.4 kB / 0.9981 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.595, allocations: 0 / 0.9981 GB, free: 4.59 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat does not exist to compare? outputFormat=mat