Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.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.001331/0.001331, allocations: 109 kB / 20.48 MB, free: 1.473 MB / 14.72 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.001418/0.001418, allocations: 211.5 kB / 23.79 MB, free: 4.684 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 257.6 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9949/0.9949, allocations: 150 MB / 464 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003042/0.003042, allocations: 61.58 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2043, allocations: 89.17 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001676/0.206, allocations: 0.5921 MB / 0.7297 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 3.262e-05/0.206, allocations: 3.938 kB / 0.7297 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.2061, allocations: 0 / 0.7297 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.2061, allocations: 0 / 0.7297 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-06/0.2061, allocations: 3.938 kB / 0.7297 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.241e-05/0.2061, allocations: 0 / 0.7297 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.523e-05/0.2062, allocations: 7.922 kB / 0.7297 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.2062, allocations: 8 kB / 0.7297 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.194e-05/0.2062, allocations: 4 kB / 0.7297 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.606e-05/0.2062, allocations: 0 / 0.7297 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.2063, allocations: 0 / 0.7297 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.096e-06/0.2063, allocations: 0 / 0.7297 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.2063, allocations: 0 / 0.7297 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.2063, allocations: 0 / 0.7297 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.304e-05/0.2063, allocations: 7.984 kB / 0.7297 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2063, allocations: 0 / 0.7297 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2063, allocations: 0 / 0.7297 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.2063, allocations: 0 / 0.7297 GB, free: 0.6445 MB / 0.545 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.0002445/0.2066, allocations: 238.8 kB / 0.7299 GB, free: 388 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2066, allocations: 8.031 kB / 0.7299 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.765e-05/0.2066, allocations: 4.188 kB / 0.7299 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.518e-05/0.2067, allocations: 30.75 kB / 0.73 GB, free: 336 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.59e-05/0.2067, allocations: 0.9375 kB / 0.73 GB, free: 336 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.418e-05/0.2068, allocations: 106.5 kB / 0.7301 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.2068, allocations: 384 / 0.7301 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.2068, allocations: 8.312 kB / 0.7301 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.528e-05/0.2068, allocations: 30.02 kB / 0.7301 GB, free: 160 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.2069, allocations: 7.938 kB / 0.7301 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.2069, allocations: 4 kB / 0.7301 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2069, allocations: 0 / 0.7301 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.368e-05/0.2069, allocations: 0 / 0.7301 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.207, allocations: 124.7 kB / 0.7302 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.287e-05/0.2071, allocations: 18.61 kB / 0.7302 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.2071, allocations: 4.859 kB / 0.7303 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-06/0.2071, allocations: 4 kB / 0.7303 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2071, allocations: 38.56 kB / 0.7303 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 2.685e-06/0.2071, allocations: 3.984 kB / 0.7303 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001032/0.2072, allocations: 37.64 kB / 0.7303 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.2073, allocations: 51.41 kB / 0.7304 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.847e-05/0.2073, allocations: 93.84 kB / 0.7305 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.2073, allocations: 25.7 kB / 0.7305 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.2074, allocations: 84.27 kB / 0.7306 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.2074, allocations: 7.953 kB / 0.7306 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.2074, allocations: 13.66 kB / 0.7306 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.2076, allocations: 310.8 kB / 0.7309 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.2076, allocations: 4 kB / 0.7309 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.2076, allocations: 4 kB / 0.7309 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.343e-05/0.2076, allocations: 8.797 kB / 0.7309 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2076, allocations: 0 / 0.7309 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.342e-05/0.2077, allocations: 37.77 kB / 0.7309 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2077, allocations: 11.92 kB / 0.731 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2077, allocations: 0 / 0.731 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.2077, allocations: 0 / 0.731 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.549e-05/0.2077, allocations: 4 kB / 0.731 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.2077, allocations: 0 / 0.731 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-06/0.2078, allocations: 0 / 0.731 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.2078, allocations: 0 / 0.731 GB, free: 15.15 MB / 0.5606 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 7.305e-05/0.2078, allocations: 109.8 kB / 0.7311 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.2078, allocations: 7.969 kB / 0.7311 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.2079, allocations: 7 kB / 0.7311 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.2079, allocations: 0 / 0.7311 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.2079, allocations: 3.938 kB / 0.7311 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2079, allocations: 0 / 0.7311 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.208, allocations: 116.8 kB / 0.7312 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.208, allocations: 0 / 0.7312 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.208, allocations: 7.938 kB / 0.7312 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.208, allocations: 3.938 kB / 0.7312 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.208, allocations: 0 / 0.7312 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.208, allocations: 0 / 0.7312 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.208, allocations: 4 kB / 0.7312 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.14e-05/0.2081, allocations: 61.12 kB / 0.7313 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-06/0.2081, allocations: 0 / 0.7313 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.2081, allocations: 7.938 kB / 0.7313 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-06/0.2081, allocations: 0 / 0.7313 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-06/0.2081, allocations: 0 / 0.7313 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-06/0.2081, allocations: 0 / 0.7313 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.2081, allocations: 83.31 kB / 0.7314 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2081, allocations: 0 / 0.7314 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001721/0.2083, allocations: 0 / 0.7314 GB, free: 14.67 MB / 0.5606 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.0003662/0.2087, allocations: 0.5937 MB / 0.7319 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.606e-05/0.2087, allocations: 12.03 kB / 0.7319 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2087, allocations: 0 / 0.7319 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.2087, allocations: 4 kB / 0.732 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.2089, allocations: 3.938 kB / 0.732 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.2091, allocations: 114.5 kB / 0.7321 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.2095, allocations: 0.669 MB / 0.7327 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.487e-06/0.2095, allocations: 0 / 0.7327 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.2095, allocations: 11.44 kB / 0.7327 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.2095, allocations: 4.125 kB / 0.7327 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.2297, allocations: 1.019 MB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.29, allocations: 5 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.14825136604486] Failed to read output from testmodel.py, exit status != 0: 11.448651180951856 11.463695796 11.254189945 Calling exit ...