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.0007497/0.0007497, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0007912/0.0007912, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8459/0.8459, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001536/0.001536, allocations: 229.8 kB / 259.4 MB, free: 13.02 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 0.6476/0.6476, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.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: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6463 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.957e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001716/0.001735, allocations: 1.404 MB / 0.6476 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001081/0.001843, allocations: 39.78 kB / 0.6477 GB, free: 480 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.001878, allocations: 0 / 0.6477 GB, free: 480 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.002021, allocations: 19.84 kB / 0.6477 GB, free: 460 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.028e-05/0.002111, allocations: 11.94 kB / 0.6477 GB, free: 448 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.002115, allocations: 0 / 0.6477 GB, free: 448 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.002179, allocations: 15.92 kB / 0.6477 GB, free: 432 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.002216, allocations: 4 kB / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.002256, allocations: 15.92 kB / 0.6477 GB, free: 412 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.002303, allocations: 4 kB / 0.6477 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.002321, allocations: 0 / 0.6477 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.06e-05/0.002362, allocations: 23.97 kB / 0.6478 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.002397, allocations: 0 / 0.6478 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.002411, allocations: 7.938 kB / 0.6478 GB, free: 376 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.891e-05/0.0025, allocations: 31.91 kB / 0.6478 GB, free: 344 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002502, allocations: 0 / 0.6478 GB, free: 344 kB / 0.5573 GB Notification: Performance of FrontEnd: time 9.32e-07/0.002502, allocations: 0 / 0.6478 GB, free: 344 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.002506, allocations: 0 / 0.6478 GB, free: 344 kB / 0.5573 GB 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.0002351/0.002741, allocations: 258.2 kB / 0.648 GB, free: 52 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.002776, allocations: 13.88 kB / 0.6481 GB, free: 40 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.427e-05/0.0028, allocations: 30.75 kB / 0.6481 GB, free: 0 / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.002855, allocations: 3.234 kB / 0.6481 GB, free: 57.31 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.003026, allocations: 116.2 kB / 0.6482 GB, free: 57.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.003036, allocations: 0.9062 kB / 0.6482 GB, free: 57.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.003045, allocations: 1.844 kB / 0.6482 GB, free: 57.18 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.901e-05/0.003124, allocations: 33.61 kB / 0.6482 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.00313, allocations: 1.75 kB / 0.6482 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.003139, allocations: 2.891 kB / 0.6482 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.00316, allocations: 4.125 kB / 0.6482 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.003179, allocations: 4.406 kB / 0.6483 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.003279, allocations: 127.9 kB / 0.6484 GB, free: 57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/0.003318, allocations: 21.2 kB / 0.6484 GB, free: 56.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.003332, allocations: 10.53 kB / 0.6484 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.003352, allocations: 2.906 kB / 0.6484 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.003365, allocations: 33.89 kB / 0.6484 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/0.003367, allocations: 0.625 kB / 0.6484 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.003487, allocations: 42.91 kB / 0.6485 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.003509, allocations: 55.34 kB / 0.6485 GB, free: 56.83 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.003583, allocations: 118.3 kB / 0.6486 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-06/0.003588, allocations: 26.83 kB / 0.6487 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.912e-05/0.003607, allocations: 87.12 kB / 0.6488 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.003626, allocations: 6.234 kB / 0.6488 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.003649, allocations: 13.66 kB / 0.6488 GB, free: 56.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.1e-05/0.00368, allocations: 315.6 kB / 0.6491 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.003692, allocations: 4.828 kB / 0.6491 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.003701, allocations: 1.891 kB / 0.6491 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.003724, allocations: 13.94 kB / 0.6491 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.003726, allocations: 0 / 0.6491 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.533e-05/0.003771, allocations: 40.73 kB / 0.6491 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.003787, allocations: 5.781 kB / 0.6491 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.003792, allocations: 0.5938 kB / 0.6491 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.003806, allocations: 1.516 kB / 0.6491 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/0.003862, allocations: 6.312 kB / 0.6491 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.003867, allocations: 1.719 kB / 0.6491 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.125e-05/0.003878, allocations: 0.875 kB / 0.6491 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.003884, allocations: 0.6562 kB / 0.6491 GB, free: 56.25 MB / 0.5573 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 (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 3.714e-05/0.003921, allocations: 113.8 kB / 0.6493 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-06/0.003927, allocations: 7.062 kB / 0.6493 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/0.004, allocations: 44.92 kB / 0.6493 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.004002, allocations: 3.219 kB / 0.6493 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.004007, allocations: 4.531 kB / 0.6493 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.004009, allocations: 0.8125 kB / 0.6493 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.813e-05/0.004057, allocations: 124.7 kB / 0.6494 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.004059, allocations: 1.344 kB / 0.6494 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-06/0.004069, allocations: 4.781 kB / 0.6494 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.004071, allocations: 1.156 kB / 0.6494 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.004077, allocations: 1.469 kB / 0.6494 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.004078, allocations: 1.938 kB / 0.6494 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.00408, allocations: 4.531 kB / 0.6494 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.406e-05/0.004124, allocations: 61.19 kB / 0.6495 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.004134, allocations: 6.781 kB / 0.6495 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.004144, allocations: 2.5 kB / 0.6495 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-06/0.004149, allocations: 0.625 kB / 0.6495 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.004163, allocations: 13.33 kB / 0.6495 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.004169, allocations: 3.125 kB / 0.6495 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.004201, allocations: 94.2 kB / 0.6496 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.004201, allocations: 2.406 kB / 0.6496 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001259/0.004327, allocations: 4.344 kB / 0.6496 GB, free: 55.79 MB / 0.5573 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 (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.0002551/0.004582, allocations: 0.6102 MB / 0.6502 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.876e-05/0.004651, allocations: 11.36 kB / 0.6502 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.004653, allocations: 0 / 0.6502 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.004659, allocations: 5.109 kB / 0.6502 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.004775, allocations: 6.781 kB / 0.6502 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.00532, allocations: 1.111 MB / 0.6513 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.005353, allocations: 62.48 kB / 0.6514 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.854e-05/0.005431, allocations: 7.422 kB / 0.6514 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.005463, allocations: 12.98 kB / 0.6514 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.005463, allocations: 3.344 kB / 0.6514 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.02013, allocations: 2.065 MB / 0.6534 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.128/6.148, allocations: 6.875 kB / 0.6534 GB, free: 53.23 MB / 0.5573 GB " [Timeout remaining time 654] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.799615013413131] Failed to read output from testmodel.py, exit status != 0: 6.4473046120256186 6.454086321 6.450011169 Calling exit ...