Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.001368/0.001368, allocations: 115.5 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.001464/0.001464, 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.46/1.46, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.8932/0.8932, allocations: 129.2 MB / 432.5 MB, free: 13.06 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.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.84 kB / 0.5987 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3964, allocations: 83.44 MB / 0.6802 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002741/0.3992, allocations: 1.829 MB / 0.682 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009787/0.4002, allocations: 0.5502 MB / 0.6825 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.4003, allocations: 6.062 kB / 0.6825 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.4004, allocations: 24.83 kB / 0.6825 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.4005, allocations: 27.02 kB / 0.6826 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.4007, allocations: 65.97 kB / 0.6826 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.4009, allocations: 178.6 kB / 0.6828 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.401, allocations: 38.16 kB / 0.6828 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.4011, allocations: 54.52 kB / 0.6829 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.4011, allocations: 60.7 kB / 0.6829 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.4012, allocations: 14.22 kB / 0.683 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/0.4012, allocations: 10.41 kB / 0.683 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.4012, allocations: 32.38 kB / 0.683 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.4013, allocations: 62.58 kB / 0.6831 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.4014, allocations: 135 kB / 0.6832 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4015, allocations: 0 / 0.6832 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4015, allocations: 0.875 kB / 0.6832 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.4015, allocations: 0 / 0.6832 GB, free: 3.68 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005847/0.4021, allocations: 481.4 kB / 0.6836 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.4021, allocations: 10.19 kB / 0.6836 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.4021, allocations: 41.27 kB / 0.6837 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.4022, allocations: 22.23 kB / 0.6837 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.4024, allocations: 231.1 kB / 0.6839 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4024, allocations: 9.719 kB / 0.6839 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.4025, allocations: 12.62 kB / 0.684 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.4027, allocations: 161.7 kB / 0.6841 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4027, allocations: 0 / 0.6841 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4027, allocations: 6.188 kB / 0.6841 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4027, allocations: 2.344 kB / 0.6841 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.4029, allocations: 70.27 kB / 0.6842 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/0.4036, allocations: 0.7387 MB / 0.6849 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.4038, allocations: 52.27 kB / 0.685 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.4039, allocations: 30.75 kB / 0.685 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.4039, allocations: 1.188 kB / 0.685 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.4041, allocations: 129.2 kB / 0.6851 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.4041, allocations: 0 / 0.6851 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004493/0.4045, allocations: 169.5 kB / 0.6853 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.4046, allocations: 130.6 kB / 0.6854 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.4048, allocations: 200.8 kB / 0.6856 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.4048, allocations: 30.8 kB / 0.6856 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.4048, allocations: 136.3 kB / 0.6857 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.4049, allocations: 41.48 kB / 0.6858 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.4049, allocations: 39.42 kB / 0.6858 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.405, allocations: 331.5 kB / 0.6861 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.4051, allocations: 37.5 kB / 0.6862 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.4052, allocations: 141.1 kB / 0.6863 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.4055, allocations: 212.5 kB / 0.6865 GB, free: 492 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4055, allocations: 9.375 kB / 0.6865 GB, free: 484 kB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003694/0.4059, allocations: 210.4 kB / 0.6867 GB, free: 360 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4059, allocations: 8.562 kB / 0.6867 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4059, allocations: 3.781 kB / 0.6867 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.4059, allocations: 5.062 kB / 0.6867 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.406, allocations: 36.78 kB / 0.6868 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4061, allocations: 4.375 kB / 0.6868 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.4062, allocations: 28.22 kB / 0.6868 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.4062, allocations: 9.312 kB / 0.6868 GB, free: 332 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.053e-05/0.4063, allocations: 140.7 kB / 0.6869 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.4063, allocations: 16.5 kB / 0.687 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.4064, allocations: 26.45 kB / 0.687 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.4064, allocations: 1.5 kB / 0.687 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4064, allocations: 2.5 kB / 0.687 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4064, allocations: 1.156 kB / 0.687 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.4072, allocations: 0.5142 MB / 0.6875 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4072, allocations: 0 / 0.6875 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.4073, allocations: 19.8 kB / 0.6875 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4073, allocations: 2.719 kB / 0.6875 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.4073, allocations: 6.562 kB / 0.6875 GB, free: 15.66 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.4073, allocations: 9.297 kB / 0.6875 GB, free: 15.66 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4074, allocations: 0 / 0.6875 GB, free: 15.66 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.4079, allocations: 358 kB / 0.6879 GB, free: 15.36 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.408, allocations: 93.69 kB / 0.688 GB, free: 15.26 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.408, allocations: 2.906 kB / 0.688 GB, free: 15.26 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.4082, allocations: 22.28 kB / 0.688 GB, free: 15.24 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.4082, allocations: 19.02 kB / 0.688 GB, free: 15.23 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.4082, allocations: 6.578 kB / 0.688 GB, free: 15.23 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0001345/0.4084, allocations: 142.8 kB / 0.6881 GB, free: 15.12 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/0.4084, allocations: 0 / 0.6881 GB, free: 15.12 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0003389/0.4087, allocations: 27.47 kB / 0.6882 GB, free: 15.12 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009502/0.4097, allocations: 0.8935 MB / 0.689 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.41, allocations: 113.2 kB / 0.6892 GB, free: 14.24 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.41, allocations: 1.781 kB / 0.6892 GB, free: 14.24 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.4101, allocations: 51.08 kB / 0.6892 GB, free: 14.21 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.4107, allocations: 68.05 kB / 0.6893 GB, free: 14.18 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.4137, allocations: 2.274 MB / 0.6915 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.4142, allocations: 0.7288 MB / 0.6922 GB, free: 11.46 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.4143, allocations: 14.83 kB / 0.6922 GB, free: 11.45 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.4144, allocations: 49.08 kB / 0.6923 GB, free: 11.41 MB / 0.5138 GB Notification: Performance of SimCode: time 1.332e-06/0.4144, allocations: 0 / 0.6923 GB, free: 11.41 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.4469, allocations: 4.052 MB / 0.6962 GB, free: 9.375 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/8.787, allocations: 4.406 kB / 0.6962 GB, free: 9.375 MB / 0.5138 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.211353509221226] Failed to read output from testmodel.py, exit status != 0: 8.862191767897457 8.887948534 8.481681448 Calling exit ...