Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001195/0.001195, allocations: 105.5 kB / 18.95 MB, free: 1.191 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.0008946/0.0008946, allocations: 212 kB / 22.24 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.9333/0.9333, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8092/0.8092, allocations: 203.5 MB / 0.5039 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IDEAS_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.000873/0.000873, allocations: 66.92 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5355/0.5363, allocations: 102 MB / 0.8174 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001848/0.5382, allocations: 0.8395 MB / 0.8182 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.5395, allocations: 1.204 MB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.5396, allocations: 0.9375 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.439e-05/0.5397, allocations: 14.67 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.995e-05/0.5397, allocations: 15.88 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.5403, allocations: 152.1 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.5405, allocations: 169.4 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.5406, allocations: 33.22 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.5408, allocations: 66.48 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.5409, allocations: 62.97 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.5409, allocations: 15.41 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.236e-05/0.541, allocations: 26.48 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.541, allocations: 25.42 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.5411, allocations: 58.56 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.5413, allocations: 167.9 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5413, allocations: 0.5156 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5413, allocations: 0 / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5413, allocations: 0 / 0.8202 GB, free: 15.48 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.0006409/0.542, allocations: 422.4 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.542, allocations: 10.88 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.542, allocations: 42.81 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.5421, allocations: 18.06 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.5425, allocations: 189.5 kB / 0.8208 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.5425, allocations: 10.41 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.5425, allocations: 9.969 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.5427, allocations: 95.25 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.5427, allocations: 0 / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.5427, allocations: 12.81 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.5427, allocations: 0 / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.5428, allocations: 52.45 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.5434, allocations: 334.3 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.5435, allocations: 35.09 kB / 0.8214 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.5435, allocations: 25.89 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.5436, allocations: 7.922 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.5438, allocations: 101 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.5438, allocations: 0 / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003015/0.5441, allocations: 133.6 kB / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.5441, allocations: 56.62 kB / 0.8217 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5442, allocations: 148.3 kB / 0.8218 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.5443, allocations: 32.48 kB / 0.8219 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.5443, allocations: 110.2 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.5444, allocations: 31.3 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.5444, allocations: 47.89 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.5445, allocations: 322.7 kB / 0.8223 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.5446, allocations: 75.67 kB / 0.8224 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.5448, allocations: 171.3 kB / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.545, allocations: 206.4 kB / 0.8228 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.545, allocations: 5.312 kB / 0.8228 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003301/0.5453, allocations: 271.9 kB / 0.823 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.5453, allocations: 38.66 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.5453, allocations: 2.281 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5454, allocations: 7.812 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.5454, allocations: 33.08 kB / 0.8231 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5454, allocations: 4.781 kB / 0.8231 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.5456, allocations: 39.83 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.5456, allocations: 13.41 kB / 0.8232 GB, free: 13.09 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.916e-05/0.5457, allocations: 127.9 kB / 0.8233 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.5457, allocations: 10.19 kB / 0.8233 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.5457, allocations: 20.62 kB / 0.8233 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5457, allocations: 5.062 kB / 0.8233 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5457, allocations: 0 / 0.8233 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5457, allocations: 4.219 kB / 0.8233 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.5461, allocations: 356.9 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5461, allocations: 3.094 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.5462, allocations: 16 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5462, allocations: 1.094 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5462, allocations: 9.125 kB / 0.8237 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5462, allocations: 5 kB / 0.8237 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5462, allocations: 0 / 0.8237 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.5465, allocations: 243.2 kB / 0.8239 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.5465, allocations: 15.58 kB / 0.824 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.5465, allocations: 2.031 kB / 0.824 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.5466, allocations: 6.766 kB / 0.824 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.5466, allocations: 11.11 kB / 0.824 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.5466, allocations: 10.22 kB / 0.824 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.952e-05/0.5467, allocations: 102.3 kB / 0.8241 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5467, allocations: 3.938 kB / 0.8241 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002168/0.5469, allocations: 34.52 kB / 0.8241 GB, free: 12.35 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.0005253/0.5474, allocations: 0.772 MB / 0.8249 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.5477, allocations: 200.3 kB / 0.8251 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5477, allocations: 2.406 kB / 0.8251 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/0.5478, allocations: 36.47 kB / 0.8251 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.5481, allocations: 20.92 kB / 0.8251 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.5501, allocations: 2.085 MB / 0.8272 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.718e-05/0.5501, allocations: 95.25 kB / 0.8272 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.088e-05/0.5502, allocations: 17.27 kB / 0.8273 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.5503, allocations: 38.36 kB / 0.8273 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/0.5503, allocations: 0 / 0.8273 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.5739, allocations: 3.84 MB / 0.831 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/7.335, allocations: 11.64 kB / 0.8311 GB, free: 8.605 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.344216834753752] Failed to read output from testmodel.py, exit status != 0: 7.4146798881702125 7.429380516 6.886087511 Calling exit ...