Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001032/0.001032, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.001378/0.001378, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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 0.9661/0.9661, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8086/0.8086, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0014/0.0014, allocations: 70.02 kB / 0.7182 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5088, allocations: 102 MB / 0.8178 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001524/0.5104, allocations: 0.8469 MB / 0.8187 GB, free: 340 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.5116, allocations: 1.195 MB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.5117, allocations: 1.562 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.5117, allocations: 13.27 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.5118, allocations: 19.69 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.5122, allocations: 153.7 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.5124, allocations: 167.4 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.5125, allocations: 35.36 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.5126, allocations: 68.98 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.5127, allocations: 59.62 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.5128, allocations: 14.12 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.197e-05/0.5128, allocations: 35.42 kB / 0.8204 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.5129, allocations: 22.11 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.5129, allocations: 58.2 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.5132, allocations: 168.5 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5132, allocations: 0.9844 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5132, allocations: 0 / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.5132, allocations: 1.156 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005688/0.5137, allocations: 420.5 kB / 0.821 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5138, allocations: 7.812 kB / 0.821 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.5138, allocations: 45.81 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.5138, allocations: 19.64 kB / 0.8211 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.5142, allocations: 196.5 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5142, allocations: 4.984 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.5142, allocations: 13.97 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.5144, allocations: 94.59 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.5144, allocations: 3.938 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5144, allocations: 5.875 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5144, allocations: 2.188 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.5145, allocations: 50.16 kB / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.5151, allocations: 336.9 kB / 0.8218 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.146e-05/0.5151, allocations: 35.47 kB / 0.8218 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.5152, allocations: 21.48 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.5152, allocations: 2.016 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.5154, allocations: 110.1 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.5154, allocations: 0 / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002837/0.5157, allocations: 134.3 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.5157, allocations: 58.86 kB / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.5158, allocations: 142.2 kB / 0.8222 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.5159, allocations: 31.11 kB / 0.8223 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.5159, allocations: 114.4 kB / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.5159, allocations: 30.36 kB / 0.8224 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.516, allocations: 49.69 kB / 0.8225 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.5161, allocations: 325 kB / 0.8228 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.5162, allocations: 76.58 kB / 0.8228 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.5163, allocations: 161.3 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.5165, allocations: 203.3 kB / 0.8232 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5165, allocations: 0 / 0.8232 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003167/0.5168, allocations: 277.5 kB / 0.8234 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.5169, allocations: 38.95 kB / 0.8235 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5169, allocations: 4.953 kB / 0.8235 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5169, allocations: 3.875 kB / 0.8235 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.5169, allocations: 26.34 kB / 0.8235 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-06/0.517, allocations: 12.66 kB / 0.8235 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.5171, allocations: 44.11 kB / 0.8236 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.5171, allocations: 10.91 kB / 0.8236 GB, free: 12.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 8.574e-05/0.5172, allocations: 124.8 kB / 0.8237 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.5172, allocations: 10.3 kB / 0.8237 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.5172, allocations: 16.84 kB / 0.8237 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5172, allocations: 5.25 kB / 0.8237 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5172, allocations: 8 kB / 0.8237 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5172, allocations: 0.6094 kB / 0.8237 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.5176, allocations: 363.9 kB / 0.8241 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5176, allocations: 96 / 0.8241 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.5177, allocations: 21.36 kB / 0.8241 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5177, allocations: 2.078 kB / 0.8241 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5177, allocations: 5.656 kB / 0.8241 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5177, allocations: 0.7031 kB / 0.8241 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5177, allocations: 0 / 0.8241 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.518, allocations: 243.2 kB / 0.8243 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.518, allocations: 16.66 kB / 0.8244 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.518, allocations: 5.953 kB / 0.8244 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.5181, allocations: 6.781 kB / 0.8244 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.5181, allocations: 7.047 kB / 0.8244 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.5181, allocations: 8.469 kB / 0.8244 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.222e-05/0.5182, allocations: 105.4 kB / 0.8245 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5182, allocations: 0 / 0.8245 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000208/0.5184, allocations: 33.44 kB / 0.8245 GB, free: 11.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0004912/0.5189, allocations: 0.7803 MB / 0.8253 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.5191, allocations: 199.2 kB / 0.8255 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5191, allocations: 0 / 0.8255 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.5192, allocations: 36.16 kB / 0.8255 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.5194, allocations: 25.03 kB / 0.8255 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.5212, allocations: 2.089 MB / 0.8276 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.454e-05/0.5213, allocations: 94.78 kB / 0.8277 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.394e-05/0.5213, allocations: 15.88 kB / 0.8277 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.5214, allocations: 37.48 kB / 0.8277 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.5214, allocations: 5.75 kB / 0.8277 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.5404, allocations: 3.836 MB / 0.8315 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.663/7.204, allocations: 1.578 kB / 0.8315 GB, free: 8.227 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.238816837780178] Failed to read output from testmodel.py, exit status != 0: 7.280668925959617 7.289917479 6.774626827 Calling exit ...