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.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.001814/0.001814, allocations: 111.5 kB / 17.12 MB, free: 5.914 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.001453/0.001453, allocations: 196.6 kB / 20.08 MB, free: 2.977 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.464/1.464, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.8774/0.8774, allocations: 129.2 MB / 432.5 MB, free: 13.2 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.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.83 kB / 0.5987 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4188, allocations: 83.44 MB / 0.6801 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001648/0.4205, allocations: 0.5929 MB / 0.6807 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.512e-05/0.4205, allocations: 5.281 kB / 0.6807 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.4206, allocations: 0 / 0.6807 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.4206, allocations: 0 / 0.6807 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.4206, allocations: 1.312 kB / 0.6807 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.303e-05/0.4206, allocations: 3.938 kB / 0.6807 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.4207, allocations: 5.312 kB / 0.6807 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.4207, allocations: 5.172 kB / 0.6807 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.258e-05/0.4208, allocations: 0 / 0.6807 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.927e-05/0.4208, allocations: 0 / 0.6807 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.4208, allocations: 1.594 kB / 0.6807 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-06/0.4208, allocations: 0 / 0.6807 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.4208, allocations: 7.922 kB / 0.6807 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.4208, allocations: 4 kB / 0.6807 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.994e-05/0.4209, allocations: 1.156 kB / 0.6808 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4209, allocations: 0 / 0.6808 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4209, allocations: 1.344 kB / 0.6808 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.4209, allocations: 4 kB / 0.6808 GB, free: 5.508 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.0002117/0.4211, allocations: 306 kB / 0.681 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4212, allocations: 9.656 kB / 0.6811 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.211e-05/0.4212, allocations: 34.73 kB / 0.6811 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.686e-05/0.4212, allocations: 2.281 kB / 0.6811 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.427e-05/0.4213, allocations: 164.4 kB / 0.6812 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4213, allocations: 384 / 0.6812 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.4213, allocations: 1.562 kB / 0.6813 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.959e-05/0.4214, allocations: 35.55 kB / 0.6813 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4214, allocations: 7.875 kB / 0.6813 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.4214, allocations: 5.297 kB / 0.6813 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4214, allocations: 0 / 0.6813 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.684e-05/0.4214, allocations: 5.031 kB / 0.6813 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.4215, allocations: 146.9 kB / 0.6814 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.826e-05/0.4216, allocations: 18.83 kB / 0.6815 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.4216, allocations: 11.8 kB / 0.6815 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.4216, allocations: 4 kB / 0.6815 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.4216, allocations: 31.91 kB / 0.6815 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.4216, allocations: 0 / 0.6815 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.4217, allocations: 38.89 kB / 0.6815 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.4217, allocations: 51.41 kB / 0.6816 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.72e-05/0.4218, allocations: 89.86 kB / 0.6817 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.4218, allocations: 31.3 kB / 0.6817 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.134e-05/0.4218, allocations: 88.25 kB / 0.6818 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.4218, allocations: 3.953 kB / 0.6818 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.4218, allocations: 15.19 kB / 0.6818 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.4219, allocations: 312.1 kB / 0.6821 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.4219, allocations: 1.125 kB / 0.6821 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.4219, allocations: 1.5 kB / 0.6821 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/0.4219, allocations: 7.953 kB / 0.6821 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4219, allocations: 0 / 0.6821 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.908e-05/0.4219, allocations: 41.55 kB / 0.6822 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.422, allocations: 5.375 kB / 0.6822 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.422, allocations: 5.375 kB / 0.6822 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.422, allocations: 3.984 kB / 0.6822 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-05/0.422, allocations: 1.156 kB / 0.6822 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.422, allocations: 0 / 0.6822 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.422, allocations: 1.25 kB / 0.6822 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.4221, allocations: 0 / 0.6822 GB, free: 3.875 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 3.723e-05/0.4221, allocations: 107.3 kB / 0.6823 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-06/0.4221, allocations: 5.562 kB / 0.6823 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.293e-05/0.4221, allocations: 7.062 kB / 0.6823 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.4221, allocations: 0 / 0.6823 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4221, allocations: 1.188 kB / 0.6823 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4221, allocations: 0 / 0.6823 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.344e-05/0.4222, allocations: 151 kB / 0.6824 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4222, allocations: 0 / 0.6824 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-06/0.4222, allocations: 1.281 kB / 0.6824 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4222, allocations: 1.531 kB / 0.6824 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.4222, allocations: 3.938 kB / 0.6824 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.4222, allocations: 4 kB / 0.6824 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4222, allocations: 3.984 kB / 0.6824 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.387e-05/0.4222, allocations: 62.84 kB / 0.6825 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.4222, allocations: 82.2 kB / 0.6826 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.4222, allocations: 5.062 kB / 0.6826 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-06/0.4223, allocations: 0 / 0.6826 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.4223, allocations: 1.094 kB / 0.6826 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.4223, allocations: 4.031 kB / 0.6826 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.222e-05/0.4223, allocations: 79.28 kB / 0.6827 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5e-08/0.4223, allocations: 1.188 kB / 0.6827 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002157/0.4225, allocations: 0 / 0.6827 GB, free: 3.289 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.0002014/0.4227, allocations: 0.5925 MB / 0.6832 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.031e-05/0.4228, allocations: 11.16 kB / 0.6833 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4228, allocations: 0 / 0.6833 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-06/0.4228, allocations: 2.781 kB / 0.6833 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.4229, allocations: 1.312 kB / 0.6833 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.4232, allocations: 109.2 kB / 0.6834 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.593e-05/0.4232, allocations: 0.6704 MB / 0.684 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.568e-06/0.4232, allocations: 0 / 0.684 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.4233, allocations: 8.719 kB / 0.684 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.4233, allocations: 4.125 kB / 0.684 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.4461, allocations: 0.8795 MB / 0.6849 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.267, allocations: 7.453 kB / 0.6849 GB, free: 1.281 MB / 0.4981 GB " [Timeout remaining time 652] (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: 11.66061861300841] Failed to read output from testmodel.py, exit status != 0: 8.33185673179105 8.346724109 7.923079159 Calling exit ...