Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 114.8 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8542/0.8542, allocations: 129.2 MB / 432.5 MB, free: 13.03 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.91 kB / 0.5987 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3644, allocations: 83.44 MB / 0.6802 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002324/0.3668, allocations: 1.49 MB / 0.6816 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3679, allocations: 1.119 MB / 0.6827 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.368, allocations: 5.062 kB / 0.6827 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.3682, allocations: 15.06 kB / 0.6827 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.3683, allocations: 45.48 kB / 0.6828 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.3685, allocations: 64.09 kB / 0.6828 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.3687, allocations: 145.4 kB / 0.683 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3688, allocations: 48.27 kB / 0.683 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.153e-05/0.3689, allocations: 84.06 kB / 0.6831 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.369, allocations: 61.25 kB / 0.6832 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.369, allocations: 11.41 kB / 0.6832 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.3691, allocations: 27.11 kB / 0.6832 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.3692, allocations: 50.97 kB / 0.6832 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.3692, allocations: 71.19 kB / 0.6833 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.3694, allocations: 202.8 kB / 0.6835 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3694, allocations: 4 kB / 0.6835 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3695, allocations: 0 / 0.6835 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3695, allocations: 3.938 kB / 0.6835 GB, free: 3.461 MB / 0.4981 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.0005421/0.37, allocations: 0.4898 MB / 0.684 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.37, allocations: 9.375 kB / 0.684 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.3701, allocations: 38.66 kB / 0.684 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.3701, allocations: 16.88 kB / 0.684 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.3704, allocations: 262.8 kB / 0.6843 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.3705, allocations: 124.8 kB / 0.6844 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.3705, allocations: 5.094 kB / 0.6844 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.3708, allocations: 157.6 kB / 0.6846 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3708, allocations: 0 / 0.6846 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.3709, allocations: 5.344 kB / 0.6846 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.3709, allocations: 6.406 kB / 0.6846 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.3709, allocations: 40.19 kB / 0.6846 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009105/0.3719, allocations: 464.4 kB / 0.6851 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/0.3719, allocations: 32.38 kB / 0.6851 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.372, allocations: 30.66 kB / 0.6851 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.372, allocations: 11.14 kB / 0.6851 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.372, allocations: 31.97 kB / 0.6852 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.372, allocations: 0 / 0.6852 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002377/0.3722, allocations: 101.5 kB / 0.6853 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.3723, allocations: 60.67 kB / 0.6853 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3724, allocations: 211.9 kB / 0.6855 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3724, allocations: 26.89 kB / 0.6855 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.3725, allocations: 128.9 kB / 0.6857 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.3725, allocations: 34.78 kB / 0.6857 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.3726, allocations: 27.92 kB / 0.6857 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.3726, allocations: 328.3 kB / 0.686 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.3726, allocations: 30.17 kB / 0.6861 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.3727, allocations: 99.25 kB / 0.6862 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.3728, allocations: 141.3 kB / 0.6863 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3728, allocations: 3.938 kB / 0.6863 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002072/0.373, allocations: 154.5 kB / 0.6865 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3731, allocations: 7.875 kB / 0.6865 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3731, allocations: 3.812 kB / 0.6865 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3731, allocations: 2.781 kB / 0.6865 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.3732, allocations: 23.05 kB / 0.6865 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3732, allocations: 12.81 kB / 0.6865 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.3732, allocations: 11.2 kB / 0.6865 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.3733, allocations: 14.73 kB / 0.6865 GB, free: 0.707 MB / 0.4981 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 8.214e-05/0.3733, allocations: 138.6 kB / 0.6867 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.3734, allocations: 24.02 kB / 0.6867 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.3736, allocations: 106.7 kB / 0.6868 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3736, allocations: 6.094 kB / 0.6868 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3736, allocations: 7.938 kB / 0.6868 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3736, allocations: 0 / 0.6868 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.3738, allocations: 238.6 kB / 0.687 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3738, allocations: 4 kB / 0.687 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.3738, allocations: 16.14 kB / 0.687 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3738, allocations: 0 / 0.687 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3738, allocations: 1.344 kB / 0.687 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3738, allocations: 0 / 0.687 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3738, allocations: 5.281 kB / 0.687 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.374, allocations: 192.5 kB / 0.6872 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.374, allocations: 88.95 kB / 0.6873 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.3741, allocations: 5.5 kB / 0.6873 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3743, allocations: 23.34 kB / 0.6873 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.3743, allocations: 7.062 kB / 0.6874 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.3743, allocations: 13.53 kB / 0.6874 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001501/0.3745, allocations: 159.7 kB / 0.6875 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.3745, allocations: 0 / 0.6875 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003025/0.3748, allocations: 24.12 kB / 0.6875 GB, free: 15.81 MB / 0.5137 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.0006447/0.3754, allocations: 0.7543 MB / 0.6883 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.3756, allocations: 75.53 kB / 0.6883 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3756, allocations: 1.344 kB / 0.6883 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.3757, allocations: 26.61 kB / 0.6884 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.3759, allocations: 16.19 kB / 0.6884 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.378, allocations: 1.943 MB / 0.6903 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.3784, allocations: 0.7277 MB / 0.691 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.3785, allocations: 52.41 kB / 0.691 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.3786, allocations: 43.7 kB / 0.6911 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.3786, allocations: 0 / 0.6911 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.4066, allocations: 4.252 MB / 0.6952 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/8.678, allocations: 5.453 kB / 0.6952 GB, free: 10.38 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.958208629395813] Failed to read output from testmodel.py, exit status != 0: 8.749125398229808 8.764497259 8.392021814 Calling exit ...