Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.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.001347/0.001347, 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.001373/0.001373, 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.483/1.483, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.8835/0.8835, allocations: 129.2 MB / 432.5 MB, free: 13.16 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.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.83 kB / 0.5987 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3938, allocations: 83.44 MB / 0.6802 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002337/0.3962, allocations: 1.347 MB / 0.6815 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001448/0.3963, allocations: 44.27 kB / 0.6815 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.437e-05/0.3964, allocations: 1.031 kB / 0.6815 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.3965, allocations: 9.891 kB / 0.6815 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.3967, allocations: 19.77 kB / 0.6816 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.077e-06/0.3967, allocations: 0 / 0.6816 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.3967, allocations: 14.14 kB / 0.6816 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.3968, allocations: 1.875 kB / 0.6816 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.111e-05/0.3968, allocations: 7.625 kB / 0.6816 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.3969, allocations: 18.25 kB / 0.6816 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3969, allocations: 1 kB / 0.6816 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.87e-05/0.397, allocations: 7.719 kB / 0.6816 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.397, allocations: 5.438 kB / 0.6816 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.397, allocations: 9.312 kB / 0.6816 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.3972, allocations: 25.69 kB / 0.6816 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3972, allocations: 4 kB / 0.6816 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3972, allocations: 0 / 0.6816 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3972, allocations: 1.219 kB / 0.6816 GB, free: 4.805 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003429/0.3975, allocations: 337 kB / 0.682 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3976, allocations: 10.44 kB / 0.682 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.3976, allocations: 30.75 kB / 0.682 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.3976, allocations: 6.391 kB / 0.682 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.3978, allocations: 181.3 kB / 0.6822 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3978, allocations: 1.5 kB / 0.6822 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.3978, allocations: 4.375 kB / 0.6822 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.665e-05/0.3979, allocations: 39.59 kB / 0.6822 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3979, allocations: 7.875 kB / 0.6822 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3979, allocations: 0 / 0.6822 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.398, allocations: 0.9688 kB / 0.6822 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.398, allocations: 4.094 kB / 0.6822 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.3982, allocations: 241.3 kB / 0.6825 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.627e-05/0.3983, allocations: 23.45 kB / 0.6825 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.3983, allocations: 10.31 kB / 0.6825 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3983, allocations: 8.938 kB / 0.6825 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3984, allocations: 36.06 kB / 0.6825 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3984, allocations: 0 / 0.6825 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.00016/0.3985, allocations: 40.12 kB / 0.6826 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.3986, allocations: 52.66 kB / 0.6826 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.3986, allocations: 114.4 kB / 0.6827 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.3986, allocations: 25.7 kB / 0.6828 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.3987, allocations: 90.5 kB / 0.6829 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.3987, allocations: 3.953 kB / 0.6829 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.3987, allocations: 15.17 kB / 0.6829 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.3988, allocations: 316.3 kB / 0.6832 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.3988, allocations: 5.031 kB / 0.6832 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-06/0.3988, allocations: 2.656 kB / 0.6832 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.985e-05/0.3988, allocations: 12.61 kB / 0.6832 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3988, allocations: 3.938 kB / 0.6832 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.263e-05/0.3989, allocations: 39.97 kB / 0.6832 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3989, allocations: 5.188 kB / 0.6832 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3989, allocations: 1.219 kB / 0.6832 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3989, allocations: 0 / 0.6832 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.3989, allocations: 1.438 kB / 0.6832 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.399, allocations: 1.312 kB / 0.6832 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.399, allocations: 0 / 0.6832 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.399, allocations: 5.312 kB / 0.6832 GB, free: 3.027 MB / 0.4981 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 4.284e-05/0.399, allocations: 120.1 kB / 0.6834 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.399, allocations: 5.266 kB / 0.6834 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.754e-05/0.3991, allocations: 39.52 kB / 0.6834 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3991, allocations: 1.312 kB / 0.6834 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3991, allocations: 0 / 0.6834 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3991, allocations: 0 / 0.6834 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.3992, allocations: 162.8 kB / 0.6836 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3992, allocations: 4.031 kB / 0.6836 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.3993, allocations: 2.562 kB / 0.6836 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3993, allocations: 0 / 0.6836 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.3993, allocations: 0 / 0.6836 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3993, allocations: 5.375 kB / 0.6836 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3993, allocations: 0 / 0.6836 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.664e-05/0.3993, allocations: 139.5 kB / 0.6837 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.3994, allocations: 82.41 kB / 0.6838 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.3994, allocations: 4.031 kB / 0.6838 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/0.3994, allocations: 0 / 0.6838 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.3994, allocations: 5.344 kB / 0.6838 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.3994, allocations: 1.375 kB / 0.6838 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.3995, allocations: 90.98 kB / 0.6839 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.3995, allocations: 0 / 0.6839 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002603/0.3997, allocations: 3.969 kB / 0.6839 GB, free: 2.316 MB / 0.4981 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.0003431/0.4001, allocations: 0.6832 MB / 0.6846 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.595e-05/0.4001, allocations: 5.344 kB / 0.6846 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4001, allocations: 0 / 0.6846 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.397e-06/0.4001, allocations: 10.58 kB / 0.6846 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.4003, allocations: 5.469 kB / 0.6846 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/0.4011, allocations: 1.177 MB / 0.6857 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.4014, allocations: 0.6794 MB / 0.6864 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.4015, allocations: 7.203 kB / 0.6864 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.992e-05/0.4015, allocations: 20.55 kB / 0.6864 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.4015, allocations: 0 / 0.6864 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.4273, allocations: 1.385 MB / 0.6878 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.488, allocations: 9.203 kB / 0.6878 GB, free: 14.9 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.879446802195162] Failed to read output from testmodel.py, exit status != 0: 8.555327161680907 8.568958817 8.169068267 Calling exit ...