Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.001278/0.001278, allocations: 115.9 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.001369/0.001369, 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.427/1.427, 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.8615/0.8615, allocations: 129.2 MB / 432.5 MB, free: 13.24 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.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 67.89 kB / 0.5987 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4882, allocations: 83.43 MB / 0.6801 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00528/0.4935, allocations: 4.119 MB / 0.6842 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002593/0.4961, allocations: 1.341 MB / 0.6855 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009786/0.497, allocations: 21.41 kB / 0.6855 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.4975, allocations: 123.7 kB / 0.6856 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007418/0.4983, allocations: 189 kB / 0.6858 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.4993, allocations: 414.5 kB / 0.6862 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.5004, allocations: 0.9492 MB / 0.6871 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.5009, allocations: 307.5 kB / 0.6874 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003616/0.5012, allocations: 337.5 kB / 0.6877 GB, free: 15.97 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.5016, allocations: 328.9 kB / 0.688 GB, free: 15.73 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.5017, allocations: 94.69 kB / 0.6881 GB, free: 15.72 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.5018, allocations: 90.59 kB / 0.6882 GB, free: 15.72 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.502, allocations: 183.4 kB / 0.6884 GB, free: 15.56 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.5023, allocations: 388.8 kB / 0.6888 GB, free: 15.27 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.5035, allocations: 1.07 MB / 0.6898 GB, free: 14.42 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5035, allocations: 1.219 kB / 0.6898 GB, free: 14.42 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5035, allocations: 0 / 0.6898 GB, free: 14.42 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.5035, allocations: 0 / 0.6898 GB, free: 14.42 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002055/0.5056, allocations: 1.102 MB / 0.6909 GB, free: 13.52 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5056, allocations: 13.66 kB / 0.6909 GB, free: 13.52 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.5057, allocations: 101.4 kB / 0.691 GB, free: 13.43 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.5059, allocations: 86.77 kB / 0.6911 GB, free: 13.38 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5069, allocations: 0.5661 MB / 0.6916 GB, free: 12.88 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.5069, allocations: 41.16 kB / 0.6917 GB, free: 12.87 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.283e-05/0.507, allocations: 59.84 kB / 0.6917 GB, free: 12.85 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.5082, allocations: 0.6105 MB / 0.6923 GB, free: 12.45 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.5082, allocations: 4 kB / 0.6923 GB, free: 12.45 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.5082, allocations: 21.38 kB / 0.6924 GB, free: 12.43 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.5082, allocations: 14.5 kB / 0.6924 GB, free: 12.43 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.5093, allocations: 465.6 kB / 0.6928 GB, free: 12.21 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.5125, allocations: 2.004 MB / 0.6948 GB, free: 10.61 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009598/0.5134, allocations: 431.2 kB / 0.6952 GB, free: 10.38 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/0.5139, allocations: 218.3 kB / 0.6954 GB, free: 10.27 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.5139, allocations: 5.094 kB / 0.6954 GB, free: 10.27 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.5145, allocations: 270.2 kB / 0.6956 GB, free: 10.09 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=49): time 2.835e-06/0.5145, allocations: 4 kB / 0.6957 GB, free: 10.09 MB / 0.5138 GB Notification: Performance of matching and sorting (n=49): time 0.001397/0.5159, allocations: 0.5841 MB / 0.6962 GB, free: 9.793 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.516, allocations: 57.44 kB / 0.6963 GB, free: 9.727 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/0.5165, allocations: 443.4 kB / 0.6967 GB, free: 9.453 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.5166, allocations: 31.98 kB / 0.6967 GB, free: 9.418 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.5169, allocations: 340 kB / 0.6971 GB, free: 9.121 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.517, allocations: 173 kB / 0.6972 GB, free: 8.969 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.5172, allocations: 98.7 kB / 0.6973 GB, free: 8.902 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5174, allocations: 362.1 kB / 0.6977 GB, free: 8.551 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.5178, allocations: 164.5 kB / 0.6978 GB, free: 8.469 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.5182, allocations: 254 kB / 0.6981 GB, free: 8.297 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008618/0.5191, allocations: 452.3 kB / 0.6985 GB, free: 8.004 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5191, allocations: 0 / 0.6985 GB, free: 8.004 MB / 0.5138 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00111/0.5202, allocations: 0.571 MB / 0.699 GB, free: 7.684 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.5202, allocations: 34.64 kB / 0.6991 GB, free: 7.652 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.5202, allocations: 1.281 kB / 0.6991 GB, free: 7.652 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.5203, allocations: 5.844 kB / 0.6991 GB, free: 7.652 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/0.5208, allocations: 118.2 kB / 0.6992 GB, free: 7.621 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.5208, allocations: 3.562 kB / 0.6992 GB, free: 7.621 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.5211, allocations: 57.67 kB / 0.6993 GB, free: 7.582 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.5212, allocations: 21.75 kB / 0.6993 GB, free: 7.574 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0003267/0.5215, allocations: 207.9 kB / 0.6995 GB, free: 7.398 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.5216, allocations: 61.69 kB / 0.6995 GB, free: 7.363 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.5218, allocations: 67.33 kB / 0.6996 GB, free: 7.312 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5218, allocations: 4.125 kB / 0.6996 GB, free: 7.312 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.5218, allocations: 1.375 kB / 0.6996 GB, free: 7.312 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-06/0.5218, allocations: 3.984 kB / 0.6996 GB, free: 7.309 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.5238, allocations: 1.174 MB / 0.7008 GB, free: 6.449 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5238, allocations: 1.438 kB / 0.7008 GB, free: 6.449 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.5243, allocations: 99.11 kB / 0.7009 GB, free: 6.422 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.5243, allocations: 2.688 kB / 0.7009 GB, free: 6.422 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.5244, allocations: 10.48 kB / 0.7009 GB, free: 6.414 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.5244, allocations: 2.406 kB / 0.7009 GB, free: 6.414 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5244, allocations: 0 / 0.7009 GB, free: 6.414 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.526, allocations: 0.7668 MB / 0.7016 GB, free: 5.949 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.5263, allocations: 175.5 kB / 0.7018 GB, free: 5.777 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/0.5264, allocations: 11.62 kB / 0.7018 GB, free: 5.77 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.5267, allocations: 22.12 kB / 0.7018 GB, free: 5.758 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.5269, allocations: 37.17 kB / 0.7019 GB, free: 5.738 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.5269, allocations: 16.75 kB / 0.7019 GB, free: 5.73 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0004553/0.5273, allocations: 315.7 kB / 0.7022 GB, free: 5.535 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5273, allocations: 4 kB / 0.7022 GB, free: 5.531 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0005887/0.5279, allocations: 149.2 kB / 0.7023 GB, free: 5.484 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001831/0.5298, allocations: 1.317 MB / 0.7036 GB, free: 4.488 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.5309, allocations: 464 kB / 0.704 GB, free: 4.238 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5309, allocations: 0.5 kB / 0.704 GB, free: 4.238 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.5313, allocations: 210.5 kB / 0.7042 GB, free: 4.145 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.5321, allocations: 157.6 kB / 0.7044 GB, free: 4.062 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00874/0.5409, allocations: 4.802 MB / 0.7091 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.5415, allocations: 0.8899 MB / 0.71 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003278/0.5418, allocations: 60.59 kB / 0.71 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.5422, allocations: 219.4 kB / 0.7102 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.5422, allocations: 0 / 0.7102 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04935/0.5915, allocations: 11.37 MB / 0.7213 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/9.107, allocations: 3.938 kB / 0.7213 GB, free: 3.344 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.633008676581085] Failed to read output from testmodel.py, exit status != 0: 9.180970774963498 9.194808458 8.688401927 Calling exit ...