Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003182/0.003182, allocations: 229 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.205/1.205, allocations: 138.4 MB / 454.7 MB, free: 1.512 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.915e-05, allocations: 5.406 kB / 0.5543 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002897/0.002926, allocations: 1.389 MB / 0.5557 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001723/0.003098, allocations: 47.75 kB / 0.5557 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.00314, allocations: 3.938 kB / 0.5557 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.003299, allocations: 11.94 kB / 0.5557 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.003408, allocations: 11.91 kB / 0.5557 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.613e-06/0.003415, allocations: 8 kB / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.752e-05/0.003482, allocations: 11.94 kB / 0.5558 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.003517, allocations: 8 kB / 0.5558 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.266e-05/0.003569, allocations: 7.984 kB / 0.5558 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.003637, allocations: 15.92 kB / 0.5558 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.003652, allocations: 3.938 kB / 0.5558 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.003701, allocations: 11.94 kB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.003737, allocations: 0 / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.003759, allocations: 8 kB / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.00387, allocations: 27.89 kB / 0.5558 GB, free: 15.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.003873, allocations: 4 kB / 0.5558 GB, free: 15.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003874, allocations: 0 / 0.5558 GB, free: 15.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.003877, allocations: 4 kB / 0.5558 GB, free: 15.31 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000446/0.004323, allocations: 360.2 kB / 0.5562 GB, free: 14.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.004359, allocations: 8.75 kB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.004401, allocations: 8.891 kB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.004599, allocations: 120.6 kB / 0.5563 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.004611, allocations: 384 / 0.5563 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.004622, allocations: 4.375 kB / 0.5563 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.062e-05/0.004713, allocations: 30.25 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.004722, allocations: 4.125 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.00473, allocations: 384 / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.004759, allocations: 4.375 kB / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.675e-05/0.004785, allocations: 15.86 kB / 0.5564 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.004959, allocations: 112.6 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.005026, allocations: 27.09 kB / 0.5565 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.005049, allocations: 7.688 kB / 0.5565 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.005072, allocations: 0 / 0.5565 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.005118, allocations: 45.44 kB / 0.5566 GB, free: 14.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.005119, allocations: 0 / 0.5566 GB, free: 14.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001599/0.005279, allocations: 33.64 kB / 0.5566 GB, free: 14.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.00533, allocations: 55.41 kB / 0.5566 GB, free: 14.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.005501, allocations: 182 kB / 0.5568 GB, free: 14.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.005523, allocations: 25.7 kB / 0.5568 GB, free: 14.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.005608, allocations: 134.9 kB / 0.557 GB, free: 13.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.005631, allocations: 3.953 kB / 0.557 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.005669, allocations: 23.36 kB / 0.557 GB, free: 13.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002794/0.005948, allocations: 496.1 kB / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.005962, allocations: 4 kB / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.005968, allocations: 0 / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/0.005999, allocations: 15.62 kB / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006001, allocations: 0 / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.225e-05/0.006063, allocations: 37.77 kB / 0.5575 GB, free: 13.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.006081, allocations: 11.98 kB / 0.5575 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.006086, allocations: 0 / 0.5575 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.0061, allocations: 0 / 0.5575 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.785e-05/0.006148, allocations: 0 / 0.5575 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.006157, allocations: 4 kB / 0.5575 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.006171, allocations: 3.938 kB / 0.5575 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.006176, allocations: 0 / 0.5575 GB, free: 13.36 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.006285, allocations: 152.6 kB / 0.5577 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.006298, allocations: 4 kB / 0.5577 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.006406, allocations: 53.06 kB / 0.5577 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.006407, allocations: 0 / 0.5577 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.006411, allocations: 4 kB / 0.5578 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.006416, allocations: 3.938 kB / 0.5578 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.006544, allocations: 124.5 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.006545, allocations: 0 / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.006561, allocations: 4 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.006566, allocations: 3.984 kB / 0.5579 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.006572, allocations: 0 / 0.5579 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.006576, allocations: 4 kB / 0.5579 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.006576, allocations: 4.031 kB / 0.5579 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.922e-05/0.006676, allocations: 76.38 kB / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.006689, allocations: 4 kB / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.0067, allocations: 3.938 kB / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.006713, allocations: 4 kB / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.006729, allocations: 0 / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.006731, allocations: 0 / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.45e-05/0.006826, allocations: 139.2 kB / 0.5581 GB, free: 12.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006826, allocations: 0 / 0.5581 GB, free: 12.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001936/0.00702, allocations: 7.938 kB / 0.5581 GB, free: 12.71 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002363/0.007256, allocations: 114.6 kB / 0.5582 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.315e-05/0.007349, allocations: 19.67 kB / 0.5582 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007351, allocations: 0 / 0.5582 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.007365, allocations: 7.688 kB / 0.5582 GB, free: 12.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.007499, allocations: 10.53 kB / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.007787, allocations: 118.2 kB / 0.5584 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.314e-05/0.00785, allocations: 63.34 kB / 0.5584 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.511e-05/0.007875, allocations: 3.938 kB / 0.5584 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.007902, allocations: 12.5 kB / 0.5584 GB, free: 12.3 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007903, allocations: 0 / 0.5584 GB, free: 12.3 MB / 490.7 MB Notification: Performance of Templates: time 0.003219/0.01112, allocations: 0.5389 MB / 0.559 GB, free: 11.77 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.864625418907963]