Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.001329/0.001329, allocations: 113.1 kB / 17.08 MB, free: 6.016 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.001517/0.001518, allocations: 186.8 kB / 20.02 MB, free: 3.086 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.5/1.5, allocations: 222.9 MB / 245.7 MB, free: 4.238 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 1.14/1.14, allocations: 147.6 MB / 445.6 MB, free: 8.406 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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2943/0.2943, allocations: 63.89 kB / 0.6109 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.4942, allocations: 83.15 MB / 0.6921 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001667/0.4959, allocations: 0.5661 MB / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 3.991e-05/0.4959, allocations: 0 / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.496, allocations: 0 / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.496, allocations: 0 / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.951e-05/0.496, allocations: 0 / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.509e-05/0.4961, allocations: 5.594 kB / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.017e-05/0.4961, allocations: 1.594 kB / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.395e-05/0.4962, allocations: 3.984 kB / 0.6927 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.96e-05/0.4962, allocations: 2.938 kB / 0.6927 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.4962, allocations: 3.938 kB / 0.6927 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.946e-06/0.4963, allocations: 4 kB / 0.6927 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-06/0.4963, allocations: 0 / 0.6927 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.4963, allocations: 0 / 0.6927 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.4963, allocations: 0 / 0.6927 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 5.904e-05/0.4964, allocations: 5.891 kB / 0.6927 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4964, allocations: 0 / 0.6927 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4964, allocations: 0 / 0.6927 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4964, allocations: 0 / 0.6927 GB, free: 12.96 MB / 0.5137 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.0003387/0.4968, allocations: 311.8 kB / 0.693 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4968, allocations: 9.75 kB / 0.693 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.4969, allocations: 38.69 kB / 0.6931 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.4969, allocations: 0.9375 kB / 0.6931 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.497, allocations: 164.4 kB / 0.6932 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.497, allocations: 384 / 0.6932 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.497, allocations: 4.219 kB / 0.6932 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.669e-05/0.4971, allocations: 26.27 kB / 0.6933 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4971, allocations: 3.938 kB / 0.6933 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.4971, allocations: 0 / 0.6933 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4972, allocations: 0 / 0.6933 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.4972, allocations: 7.406 kB / 0.6933 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.4973, allocations: 149.7 kB / 0.6934 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.4974, allocations: 17.73 kB / 0.6934 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.4975, allocations: 8.844 kB / 0.6934 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.4975, allocations: 7.781 kB / 0.6934 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4975, allocations: 30.56 kB / 0.6935 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.4975, allocations: 0 / 0.6935 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001324/0.4977, allocations: 44.39 kB / 0.6935 GB, free: 12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.4977, allocations: 51.41 kB / 0.6936 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.023e-05/0.4978, allocations: 92.55 kB / 0.6937 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4978, allocations: 25.7 kB / 0.6937 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.4978, allocations: 80.14 kB / 0.6938 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.4979, allocations: 0 / 0.6938 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.4979, allocations: 12.34 kB / 0.6938 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.4981, allocations: 319 kB / 0.6941 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.4981, allocations: 4 kB / 0.6941 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.4981, allocations: 2.938 kB / 0.6941 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.31e-05/0.4982, allocations: 8.734 kB / 0.6941 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4982, allocations: 0 / 0.6941 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.723e-05/0.4982, allocations: 33.27 kB / 0.6941 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4982, allocations: 5.844 kB / 0.6941 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4983, allocations: 3.938 kB / 0.6941 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4983, allocations: 0 / 0.6941 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.824e-05/0.4983, allocations: 7.438 kB / 0.6941 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.4983, allocations: 0 / 0.6941 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-06/0.4984, allocations: 0 / 0.6941 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.4984, allocations: 0 / 0.6941 GB, free: 11.34 MB / 0.5137 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 9.679e-05/0.4985, allocations: 119.3 kB / 0.6942 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.4985, allocations: 2.844 kB / 0.6943 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.401e-05/0.4985, allocations: 7.062 kB / 0.6943 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4985, allocations: 0 / 0.6943 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4985, allocations: 4 kB / 0.6943 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4985, allocations: 4 kB / 0.6943 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.4986, allocations: 144.3 kB / 0.6944 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4986, allocations: 3.984 kB / 0.6944 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-06/0.4987, allocations: 0 / 0.6944 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4987, allocations: 2.688 kB / 0.6944 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.4987, allocations: 3.938 kB / 0.6944 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.4987, allocations: 0 / 0.6944 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4987, allocations: 7.922 kB / 0.6944 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.333e-05/0.4988, allocations: 64.56 kB / 0.6945 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.4988, allocations: 77.11 kB / 0.6946 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.4988, allocations: 7.922 kB / 0.6946 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.4989, allocations: 0 / 0.6946 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.4989, allocations: 0 / 0.6946 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.4989, allocations: 3.406 kB / 0.6946 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.629e-05/0.4989, allocations: 79.22 kB / 0.6946 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4989, allocations: 0 / 0.6946 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001886/0.4991, allocations: 0 / 0.6946 GB, free: 10.75 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 (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.0004517/0.4996, allocations: 0.5983 MB / 0.6952 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.127e-05/0.4997, allocations: 4.094 kB / 0.6952 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4997, allocations: 4 kB / 0.6952 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-06/0.4997, allocations: 2.312 kB / 0.6952 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.4998, allocations: 6.859 kB / 0.6952 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.5001, allocations: 108.4 kB / 0.6953 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.5005, allocations: 0.6739 MB / 0.696 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.309e-05/0.5005, allocations: 1.25 kB / 0.696 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.5005, allocations: 7.438 kB / 0.696 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of SimCode: time 6.32e-07/0.5005, allocations: 0 / 0.696 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.5217, allocations: 0.9039 MB / 0.6969 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.287, allocations: 12.61 kB / 0.6969 GB, free: 8.738 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.882022480946034] Failed to read output from testmodel.py, exit status != 0: 8.35375664010644 8.378633271 7.877673051 Calling exit ...