Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.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.0007989/0.0007989, 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.000811/0.000811, 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.8449/0.8449, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001384/0.001384, allocations: 230 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.6531/0.6531, allocations: 138.4 MB / 454.3 MB, free: 30 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.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/1.995e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.001924/0.001943, allocations: 1.381 MB / 0.6476 GB, free: 468 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.002064, allocations: 31.84 kB / 0.6477 GB, free: 436 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.002103, allocations: 3.938 kB / 0.6477 GB, free: 432 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.002267, allocations: 19.84 kB / 0.6477 GB, free: 412 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.002373, allocations: 8 kB / 0.6477 GB, free: 404 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.002377, allocations: 0 / 0.6477 GB, free: 404 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.002439, allocations: 15.86 kB / 0.6477 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.002481, allocations: 4 kB / 0.6477 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.002526, allocations: 15.92 kB / 0.6477 GB, free: 368 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.002574, allocations: 0 / 0.6477 GB, free: 368 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.002595, allocations: 8 kB / 0.6477 GB, free: 360 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.002637, allocations: 7.984 kB / 0.6477 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.00268, allocations: 11.98 kB / 0.6478 GB, free: 340 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.002695, allocations: 3.938 kB / 0.6478 GB, free: 336 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.463e-05/0.00278, allocations: 19.92 kB / 0.6478 GB, free: 316 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002782, allocations: 0 / 0.6478 GB, free: 316 kB / 0.5573 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002782, allocations: 0 / 0.6478 GB, free: 316 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.002786, allocations: 0 / 0.6478 GB, free: 316 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.0002455/0.003031, allocations: 262.2 kB / 0.648 GB, free: 20 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.003067, allocations: 13.94 kB / 0.648 GB, free: 8 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2234/0.2265, allocations: 34.75 kB / 0.6481 GB, free: 57.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.2265, allocations: 4.031 kB / 0.6481 GB, free: 57.27 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.2267, allocations: 113.4 kB / 0.6482 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.2267, allocations: 384 / 0.6482 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.2267, allocations: 3.438 kB / 0.6482 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.037e-05/0.2268, allocations: 33.81 kB / 0.6482 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2268, allocations: 1.312 kB / 0.6482 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.2268, allocations: 384 / 0.6482 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.2268, allocations: 7.016 kB / 0.6482 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.2269, allocations: 6.047 kB / 0.6482 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.2271, allocations: 215.3 kB / 0.6484 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.2271, allocations: 18.67 kB / 0.6485 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.2271, allocations: 7.203 kB / 0.6485 GB, free: 56.85 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.2271, allocations: 0 / 0.6485 GB, free: 56.85 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.2272, allocations: 40.34 kB / 0.6485 GB, free: 56.81 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.2272, allocations: 1.969 kB / 0.6485 GB, free: 56.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.2273, allocations: 45.97 kB / 0.6486 GB, free: 56.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.2273, allocations: 51.41 kB / 0.6486 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.2274, allocations: 115.6 kB / 0.6487 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-06/0.2274, allocations: 25.7 kB / 0.6487 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.154e-05/0.2274, allocations: 87.5 kB / 0.6488 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.2274, allocations: 6.609 kB / 0.6488 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.2274, allocations: 13.41 kB / 0.6488 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.122e-05/0.2275, allocations: 316 kB / 0.6491 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.2275, allocations: 1.422 kB / 0.6491 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.2275, allocations: 2.969 kB / 0.6491 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.989e-05/0.2275, allocations: 14.36 kB / 0.6492 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2275, allocations: 0 / 0.6492 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.659e-05/0.2275, allocations: 41.97 kB / 0.6492 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2276, allocations: 6.125 kB / 0.6492 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2276, allocations: 0.6562 kB / 0.6492 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2276, allocations: 2.031 kB / 0.6492 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.039e-05/0.2276, allocations: 1.516 kB / 0.6492 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2276, allocations: 1.5 kB / 0.6492 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.079e-05/0.2276, allocations: 3.125 kB / 0.6492 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.2276, allocations: 0.9062 kB / 0.6492 GB, free: 56.13 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.534e-05/0.2277, allocations: 113.2 kB / 0.6493 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.2277, allocations: 9.172 kB / 0.6493 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.884e-05/0.2278, allocations: 43.69 kB / 0.6494 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2278, allocations: 1.344 kB / 0.6494 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2278, allocations: 2.344 kB / 0.6494 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2278, allocations: 0 / 0.6494 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.044e-05/0.2279, allocations: 129.1 kB / 0.6495 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2279, allocations: 2.688 kB / 0.6495 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.2279, allocations: 4.406 kB / 0.6495 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2279, allocations: 5.953 kB / 0.6495 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.2279, allocations: 0.5 kB / 0.6495 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.2279, allocations: 0.7188 kB / 0.6495 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2279, allocations: 4.703 kB / 0.6495 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.837e-05/0.2279, allocations: 130.1 kB / 0.6496 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.2279, allocations: 6.844 kB / 0.6496 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2279, allocations: 1.172 kB / 0.6496 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.228, allocations: 9.312 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.228, allocations: 1.969 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.228, allocations: 0.7188 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.228, allocations: 92.81 kB / 0.6497 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.228, allocations: 2.406 kB / 0.6497 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001445/0.2282, allocations: 8.938 kB / 0.6498 GB, free: 55.61 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.0002882/0.2284, allocations: 0.6849 MB / 0.6504 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.539e-05/0.2285, allocations: 10.77 kB / 0.6504 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2285, allocations: 0 / 0.6504 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-06/0.2285, allocations: 3.062 kB / 0.6504 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.2287, allocations: 3.922 kB / 0.6504 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.2293, allocations: 1.179 MB / 0.6516 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.244e-05/0.2293, allocations: 64.03 kB / 0.6517 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.645e-05/0.2294, allocations: 9.234 kB / 0.6517 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.2294, allocations: 13.09 kB / 0.6517 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/0.2294, allocations: 3.5 kB / 0.6517 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.2434, allocations: 2.055 MB / 0.6537 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.395/6.639, allocations: 1.188 kB / 0.6537 GB, free: 52.88 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.088274186477065] Failed to read output from testmodel.py, exit status != 0: 6.714035654440522 6.721789705 6.717535808 Calling exit ...