Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_9_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.001154/0.001154, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001024/0.001024, allocations: 177.3 kB / 15.95 MB, free: 216 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.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 16 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.6884, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001853/0.6903, allocations: 1.544 MB / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003309/0.6936, allocations: 3.036 MB / 0.9581 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.6937, allocations: 0 / 0.9581 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.6939, allocations: 39.56 kB / 0.9581 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.6943, allocations: 130.7 kB / 0.9582 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.684e-05/0.6944, allocations: 15.48 kB / 0.9582 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.6946, allocations: 115.8 kB / 0.9584 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.6947, allocations: 30.62 kB / 0.9584 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.6949, allocations: 69.81 kB / 0.9584 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.695, allocations: 65.11 kB / 0.9585 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.6951, allocations: 9.609 kB / 0.9585 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.79e-05/0.6951, allocations: 19.58 kB / 0.9585 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.6952, allocations: 34.22 kB / 0.9586 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.6952, allocations: 53.89 kB / 0.9586 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.6954, allocations: 115.5 kB / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6954, allocations: 0 / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6954, allocations: 3.938 kB / 0.9587 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.6954, allocations: 0 / 0.9587 GB, free: 3.965 MB / 0.7169 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.0008414/0.6963, allocations: 0.4919 MB / 0.9592 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6963, allocations: 9.625 kB / 0.9592 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.6964, allocations: 41.3 kB / 0.9593 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.6964, allocations: 23.97 kB / 0.9593 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.6967, allocations: 243.8 kB / 0.9595 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.6968, allocations: 2.75 kB / 0.9595 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.6968, allocations: 2.75 kB / 0.9595 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.6971, allocations: 155.4 kB / 0.9597 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6972, allocations: 0 / 0.9597 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.6972, allocations: 3.953 kB / 0.9597 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.6972, allocations: 12.25 kB / 0.9597 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.6977, allocations: 159 kB / 0.9598 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.6983, allocations: 460.2 kB / 0.9603 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.6987, allocations: 189.5 kB / 0.9605 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.6987, allocations: 1.938 kB / 0.9605 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.6987, allocations: 31.66 kB / 0.9605 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.6987, allocations: 0 / 0.9605 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0008642/0.6996, allocations: 317.9 kB / 0.9608 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.6996, allocations: 56.97 kB / 0.9609 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.6998, allocations: 210 kB / 0.9611 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.6999, allocations: 27.08 kB / 0.9611 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.6999, allocations: 128.2 kB / 0.9612 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.7, allocations: 40.86 kB / 0.9612 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.7, allocations: 7.938 kB / 0.9612 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.7001, allocations: 330.9 kB / 0.9616 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.7003, allocations: 82.94 kB / 0.9616 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.7005, allocations: 84 kB / 0.9617 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.7008, allocations: 92.16 kB / 0.9618 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7008, allocations: 1.062 kB / 0.9618 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005183/0.7013, allocations: 231.8 kB / 0.962 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.7013, allocations: 6.219 kB / 0.962 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7013, allocations: 1.031 kB / 0.962 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.7013, allocations: 4.969 kB / 0.962 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.7016, allocations: 42.89 kB / 0.9621 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7016, allocations: 0.75 kB / 0.9621 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.7018, allocations: 23.8 kB / 0.9621 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.7018, allocations: 3.375 kB / 0.9621 GB, free: 1.305 MB / 0.7169 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 9.746e-05/0.7019, allocations: 134.3 kB / 0.9622 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.702, allocations: 20.95 kB / 0.9623 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.702, allocations: 26.48 kB / 0.9623 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.702, allocations: 6.031 kB / 0.9623 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.702, allocations: 0 / 0.9623 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7021, allocations: 1 kB / 0.9623 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.7023, allocations: 256.9 kB / 0.9625 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7023, allocations: 0 / 0.9625 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.7026, allocations: 52.36 kB / 0.9626 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7026, allocations: 0 / 0.9626 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.7026, allocations: 6.422 kB / 0.9626 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7026, allocations: 0 / 0.9626 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7026, allocations: 1.312 kB / 0.9626 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.7032, allocations: 332.5 kB / 0.9629 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.7033, allocations: 107.6 kB / 0.963 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.7033, allocations: 1.312 kB / 0.963 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.7035, allocations: 30.45 kB / 0.963 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.7036, allocations: 9.141 kB / 0.9631 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.7036, allocations: 7.188 kB / 0.9631 GB, free: 496 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001282/0.7037, allocations: 159.2 kB / 0.9632 GB, free: 376 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7037, allocations: 0 / 0.9632 GB, free: 376 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000293/0.704, allocations: 43.94 kB / 0.9633 GB, free: 364 kB / 0.7169 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.0009341/0.705, allocations: 0.8711 MB / 0.9641 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005646/0.7055, allocations: 194.8 kB / 0.9643 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7056, allocations: 1.594 kB / 0.9643 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.7058, allocations: 99.34 kB / 0.9644 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.7061, allocations: 26.69 kB / 0.9644 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.7083, allocations: 1.302 MB / 0.9657 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.7086, allocations: 0.7446 MB / 0.9664 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.7088, allocations: 51.8 kB / 0.9665 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.54e-05/0.7089, allocations: 46.02 kB / 0.9665 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/0.7089, allocations: 4.688 kB / 0.9665 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.7219, allocations: 3.489 MB / 0.9699 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.7221, allocations: 207.8 kB / 0.9701 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.341, allocations: 0 / 0.9701 GB, free: 11.96 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat does not exist to compare? outputFormat=mat