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.001324/0.001324, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001626/0.001626, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9335/0.9335, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.7294/0.7294, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 5.239e-06/5.239e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.537e-05, allocations: 2.844 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002177/0.002213, allocations: 0.8487 MB / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.004083, allocations: 1.201 MB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.004166, allocations: 4 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.936e-05/0.004215, allocations: 7.875 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.004321, allocations: 19.78 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.004925, allocations: 155 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.005157, allocations: 163.6 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.005307, allocations: 33.22 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.005473, allocations: 91.86 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.005603, allocations: 59.84 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.005646, allocations: 16 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.107e-05/0.005727, allocations: 23.98 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.005764, allocations: 27.84 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.005841, allocations: 47.91 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.006124, allocations: 191.5 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.006128, allocations: 0 / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.064e-06/0.00613, allocations: 0 / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.006136, allocations: 3.938 kB / 0.6209 GB, free: 10.74 MB / 0.5886 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.00124/0.007376, allocations: 414 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.007424, allocations: 13.47 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.007462, allocations: 38.73 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.007522, allocations: 16.89 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.007989, allocations: 191.7 kB / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.00801, allocations: 4.375 kB / 0.6216 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.008043, allocations: 16.38 kB / 0.6216 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.008215, allocations: 90.2 kB / 0.6217 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.008222, allocations: 192 / 0.6217 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.008234, allocations: 4.375 kB / 0.6217 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.00824, allocations: 7.938 kB / 0.6217 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.008334, allocations: 47.89 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.008884, allocations: 335.7 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.244e-05/0.008967, allocations: 34.55 kB / 0.6221 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.009015, allocations: 24.84 kB / 0.6221 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.009037, allocations: 7.938 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.009264, allocations: 95.42 kB / 0.6222 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.009265, allocations: 0 / 0.6222 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002894/0.009555, allocations: 137.5 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.009592, allocations: 55.41 kB / 0.6224 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.009691, allocations: 145.9 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.009711, allocations: 29.7 kB / 0.6226 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.009772, allocations: 112 kB / 0.6227 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.009795, allocations: 35.72 kB / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.009852, allocations: 45.69 kB / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.00994, allocations: 330.8 kB / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.01005, allocations: 73.67 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.01019, allocations: 162.9 kB / 0.6233 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.01037, allocations: 204.6 kB / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01037, allocations: 4 kB / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003129/0.01069, allocations: 273 kB / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.449e-05/0.01072, allocations: 37.77 kB / 0.6238 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01073, allocations: 0 / 0.6238 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01074, allocations: 4 kB / 0.6238 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.01081, allocations: 31.86 kB / 0.6238 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01082, allocations: 4 kB / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.01093, allocations: 47.84 kB / 0.6239 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01095, allocations: 12 kB / 0.6239 GB, free: 7.391 MB / 0.5886 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 9.369e-05/0.01104, allocations: 138.7 kB / 0.624 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.01105, allocations: 8 kB / 0.624 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.01109, allocations: 20.77 kB / 0.624 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01109, allocations: 0 / 0.624 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.0111, allocations: 0 / 0.624 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.0111, allocations: 0 / 0.624 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.01149, allocations: 365.8 kB / 0.6244 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01149, allocations: 0 / 0.6244 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.01154, allocations: 20.02 kB / 0.6244 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01155, allocations: 3.938 kB / 0.6244 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.01155, allocations: 8 kB / 0.6244 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.01156, allocations: 3.938 kB / 0.6244 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01156, allocations: 0 / 0.6244 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.0118, allocations: 235.4 kB / 0.6246 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.01181, allocations: 15.91 kB / 0.6247 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.01183, allocations: 0 / 0.6247 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.729e-05/0.01187, allocations: 19.97 kB / 0.6247 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.01191, allocations: 7.984 kB / 0.6247 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.01192, allocations: 4 kB / 0.6247 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.01196, allocations: 105.3 kB / 0.6248 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01196, allocations: 0 / 0.6248 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002041/0.01217, allocations: 35.92 kB / 0.6248 GB, free: 6.344 MB / 0.5886 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.0005043/0.01267, allocations: 0.7748 MB / 0.6256 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.01293, allocations: 204.9 kB / 0.6258 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01293, allocations: 0 / 0.6258 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.979e-05/0.01299, allocations: 31.97 kB / 0.6258 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.01321, allocations: 28.98 kB / 0.6258 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.01513, allocations: 2.063 MB / 0.6278 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.433e-05/0.01519, allocations: 101.7 kB / 0.6279 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.772e-05/0.01524, allocations: 12.66 kB / 0.628 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.0153, allocations: 36.48 kB / 0.628 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of SimCode: time 6.52e-07/0.0153, allocations: 0 / 0.628 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.03481, allocations: 3.969 MB / 0.6319 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/6.883, allocations: 14.19 kB / 0.6319 GB, free: 15.08 MB / 0.6042 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: 9.820278919301927] Failed to read output from testmodel.py, exit status != 0: 6.9643167443573475 6.978896148 6.969383474 Calling exit ...