Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.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.0007798/0.0007798, 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.0008306/0.0008306, allocations: 165.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.8278/0.8278, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.001347/0.001347, allocations: 242.2 kB / 259.4 MB, free: 13.03 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.6485/0.6485, allocations: 138.4 MB / 454.3 MB, free: 30.01 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.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.989e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001842/0.001862, allocations: 1.503 MB / 0.6477 GB, free: 364 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2166/0.2185, allocations: 1.195 MB / 0.6489 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.2186, allocations: 1.438 kB / 0.6489 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.2187, allocations: 19.89 kB / 0.6489 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.2189, allocations: 42.33 kB / 0.649 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.2191, allocations: 66.27 kB / 0.649 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.2193, allocations: 148.7 kB / 0.6492 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.2194, allocations: 34.95 kB / 0.6492 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2195, allocations: 106 kB / 0.6493 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.2196, allocations: 42.19 kB / 0.6493 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.2197, allocations: 12.56 kB / 0.6494 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.2197, allocations: 25.16 kB / 0.6494 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.2198, allocations: 47.52 kB / 0.6494 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.2198, allocations: 52.77 kB / 0.6495 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.2201, allocations: 217.8 kB / 0.6497 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2201, allocations: 1.781 kB / 0.6497 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2201, allocations: 0 / 0.6497 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2201, allocations: 1.219 kB / 0.6497 GB, free: 55.78 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005147/0.2206, allocations: 428.9 kB / 0.6501 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2207, allocations: 12 kB / 0.6501 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.2207, allocations: 40.03 kB / 0.6501 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.2208, allocations: 21.83 kB / 0.6502 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.221, allocations: 206.5 kB / 0.6504 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.103e-05/0.2211, allocations: 218.9 kB / 0.6506 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.2211, allocations: 9.516 kB / 0.6506 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.2213, allocations: 263.1 kB / 0.6508 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2213, allocations: 0.7812 kB / 0.6508 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.2213, allocations: 8.125 kB / 0.6508 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.2214, allocations: 9.375 kB / 0.6509 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.25e-05/0.2214, allocations: 42.59 kB / 0.6509 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.2221, allocations: 405.1 kB / 0.6513 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.2221, allocations: 36.78 kB / 0.6513 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.2222, allocations: 21.56 kB / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.2222, allocations: 5.828 kB / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2222, allocations: 35.38 kB / 0.6514 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.154e-06/0.2222, allocations: 0 / 0.6514 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0002034/0.2224, allocations: 106.7 kB / 0.6515 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.2224, allocations: 53.75 kB / 0.6515 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.2226, allocations: 222.3 kB / 0.6517 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.2226, allocations: 30.73 kB / 0.6518 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.2226, allocations: 118.7 kB / 0.6519 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.2227, allocations: 30.14 kB / 0.6519 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.2227, allocations: 30.52 kB / 0.6519 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.2227, allocations: 331 kB / 0.6523 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.2228, allocations: 23.66 kB / 0.6523 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.2228, allocations: 113.5 kB / 0.6524 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.2229, allocations: 135.1 kB / 0.6525 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2229, allocations: 1.656 kB / 0.6525 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001486/0.2231, allocations: 154.9 kB / 0.6527 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2231, allocations: 6.953 kB / 0.6527 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2231, allocations: 6.406 kB / 0.6527 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2231, allocations: 3.625 kB / 0.6527 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.2232, allocations: 25.77 kB / 0.6527 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2232, allocations: 5.469 kB / 0.6527 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.2232, allocations: 15.39 kB / 0.6527 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2233, allocations: 17.22 kB / 0.6527 GB, free: 53.56 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 6.894e-05/0.2233, allocations: 142.8 kB / 0.6529 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.2234, allocations: 20.05 kB / 0.6529 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.2235, allocations: 113.1 kB / 0.653 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2235, allocations: 5.312 kB / 0.653 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2235, allocations: 2.625 kB / 0.653 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2235, allocations: 0.8906 kB / 0.653 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.2236, allocations: 188.8 kB / 0.6532 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2236, allocations: 0 / 0.6532 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.2237, allocations: 18.52 kB / 0.6532 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2237, allocations: 0 / 0.6532 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2237, allocations: 1.344 kB / 0.6532 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2237, allocations: 4.625 kB / 0.6532 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2237, allocations: 0 / 0.6532 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.2238, allocations: 198.2 kB / 0.6534 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.2238, allocations: 12.38 kB / 0.6534 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2238, allocations: 2.844 kB / 0.6534 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2239, allocations: 21.84 kB / 0.6534 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.224, allocations: 4.688 kB / 0.6534 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.224, allocations: 12.34 kB / 0.6535 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.42e-05/0.2241, allocations: 160.9 kB / 0.6536 GB, free: 53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2241, allocations: 5.062 kB / 0.6536 GB, free: 53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002067/0.2243, allocations: 39.06 kB / 0.6537 GB, free: 52.99 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 (8): * Single equations (assignments): 8 * 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.0003567/0.2246, allocations: 0.7489 MB / 0.6544 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2248, allocations: 71.42 kB / 0.6545 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2248, allocations: 1.875 kB / 0.6545 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.2248, allocations: 26.78 kB / 0.6545 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.225, allocations: 14.97 kB / 0.6545 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.2262, allocations: 1.921 MB / 0.6564 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.681e-05/0.2263, allocations: 124.1 kB / 0.6565 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.996e-05/0.2264, allocations: 52.11 kB / 0.6565 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.2264, allocations: 49.11 kB / 0.6566 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/0.2264, allocations: 0 / 0.6566 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.243, allocations: 5.039 MB / 0.6615 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.327/6.57, allocations: 2.25 kB / 0.6615 GB, free: 49.54 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.993365954607725] Failed to read output from testmodel.py, exit status != 0: 6.647068320773542 6.654165784 6.43260738 Calling exit ...