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.0008049/0.0008049, 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.0009095/0.0009095, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9104/0.9104, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.7095/0.7095, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.507e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001763/0.001788, allocations: 0.8468 MB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.003299, allocations: 1.209 MB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.003388, allocations: 4 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.00343, allocations: 11.86 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.776e-05/0.003518, allocations: 7.875 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.004025, allocations: 165.9 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.00423, allocations: 163.6 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.004358, allocations: 33.17 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.004483, allocations: 95.84 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.00457, allocations: 51.86 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.004601, allocations: 16 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.327e-05/0.004665, allocations: 27.92 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.004691, allocations: 23.91 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.004746, allocations: 55.89 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.004954, allocations: 187.4 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004957, allocations: 0 / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004958, allocations: 4 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.004964, allocations: 0 / 0.621 GB, free: 10.71 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.0006448/0.005609, allocations: 418 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.005657, allocations: 8.031 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.005696, allocations: 38.75 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.005747, allocations: 12.89 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.006132, allocations: 199.9 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.006149, allocations: 4.375 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.006186, allocations: 16.38 kB / 0.6216 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.006378, allocations: 89.44 kB / 0.6217 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006389, allocations: 192 / 0.6217 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.006404, allocations: 8.375 kB / 0.6217 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.006411, allocations: 3.938 kB / 0.6217 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.00651, allocations: 47.89 kB / 0.6218 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.007114, allocations: 335.7 kB / 0.6221 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.007195, allocations: 38.55 kB / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.007239, allocations: 24.72 kB / 0.6222 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.00726, allocations: 4 kB / 0.6222 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.00747, allocations: 99.45 kB / 0.6223 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/0.007471, allocations: 3.938 kB / 0.6223 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002791/0.007751, allocations: 137.5 kB / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.007786, allocations: 55.41 kB / 0.6225 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.007878, allocations: 141.9 kB / 0.6226 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.007903, allocations: 37.69 kB / 0.6226 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.007961, allocations: 108 kB / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.007981, allocations: 27.75 kB / 0.6228 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.008038, allocations: 45.69 kB / 0.6228 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.008124, allocations: 330.8 kB / 0.6231 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.008236, allocations: 85.59 kB / 0.6232 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.008362, allocations: 152.8 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.008569, allocations: 200.6 kB / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.008573, allocations: 4 kB / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000321/0.008894, allocations: 276.8 kB / 0.6238 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.008938, allocations: 33.7 kB / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.008947, allocations: 0 / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.008966, allocations: 8 kB / 0.6238 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.009066, allocations: 27.92 kB / 0.6239 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.009077, allocations: 7.984 kB / 0.6239 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.009207, allocations: 44.17 kB / 0.6239 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.009226, allocations: 15.98 kB / 0.6239 GB, free: 7.359 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 8.946e-05/0.009316, allocations: 130.7 kB / 0.6241 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.009329, allocations: 7.953 kB / 0.6241 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.009361, allocations: 12.78 kB / 0.6241 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.009364, allocations: 0 / 0.6241 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.009369, allocations: 7.984 kB / 0.6241 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.009373, allocations: 0 / 0.6241 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.009757, allocations: 369.9 kB / 0.6244 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.009761, allocations: 3.984 kB / 0.6244 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.961e-05/0.00981, allocations: 15.92 kB / 0.6245 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.009816, allocations: 4 kB / 0.6245 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.009827, allocations: 4.094 kB / 0.6245 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.009829, allocations: 7.875 kB / 0.6245 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.00983, allocations: 3.938 kB / 0.6245 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.01007, allocations: 243.4 kB / 0.6247 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.01008, allocations: 11.91 kB / 0.6247 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.0101, allocations: 4 kB / 0.6247 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.01014, allocations: 15.97 kB / 0.6247 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.01018, allocations: 3.984 kB / 0.6247 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.01019, allocations: 4 kB / 0.6247 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.776e-05/0.01023, allocations: 110.7 kB / 0.6249 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01023, allocations: 0 / 0.6249 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002076/0.01044, allocations: 31.94 kB / 0.6249 GB, free: 6.316 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.0004927/0.01093, allocations: 0.7748 MB / 0.6256 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.0112, allocations: 204.9 kB / 0.6258 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01121, allocations: 0.75 kB / 0.6258 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.566e-05/0.01127, allocations: 35.98 kB / 0.6259 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.01151, allocations: 22.64 kB / 0.6259 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.01315, allocations: 2.069 MB / 0.6279 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.324e-05/0.01321, allocations: 97.66 kB / 0.628 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.06e-05/0.01326, allocations: 16.64 kB / 0.628 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.01331, allocations: 36.48 kB / 0.6281 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/0.01331, allocations: 0 / 0.6281 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.03352, allocations: 3.968 MB / 0.6319 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.704, allocations: 2.5 kB / 0.6319 GB, free: 15.05 MB / 0.6042 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.401936387643218] Failed to read output from testmodel.py, exit status != 0: 6.781961428932846 6.791456897 6.784626146 Calling exit ...