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.001301/0.001301, allocations: 78.41 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00151/0.00151, allocations: 169.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.222/1.222, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 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 178] 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.268e-05, allocations: 2.781 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002338/0.002371, allocations: 0.8352 MB / 0.6194 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.004391, allocations: 1.197 MB / 0.6206 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.004481, allocations: 7.938 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.004522, allocations: 11.88 kB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.004629, allocations: 15.86 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/0.005256, allocations: 161.7 kB / 0.6208 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.005518, allocations: 163.7 kB / 0.6209 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.005665, allocations: 29.28 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.00586, allocations: 99.84 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.005998, allocations: 47.86 kB / 0.6211 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.00605, allocations: 16 kB / 0.6211 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.006141, allocations: 27.98 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.006195, allocations: 27.91 kB / 0.6212 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.578e-05/0.006291, allocations: 47.89 kB / 0.6212 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.00664, allocations: 199.3 kB / 0.6214 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.006643, allocations: 0 / 0.6214 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.51e-07/0.006644, allocations: 0 / 0.6214 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.006651, allocations: 0 / 0.6214 GB, free: 1.703 MB / 0.5294 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.0008666/0.007518, allocations: 418 kB / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.007557, allocations: 13.47 kB / 0.6218 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.007633, allocations: 16.84 kB / 0.6218 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.008221, allocations: 185.7 kB / 0.622 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.008246, allocations: 12.38 kB / 0.622 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.008283, allocations: 8.375 kB / 0.622 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.008533, allocations: 96.67 kB / 0.6221 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.008543, allocations: 192 / 0.6221 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.008563, allocations: 8.375 kB / 0.6221 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.00857, allocations: 8.125 kB / 0.6221 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.008755, allocations: 47.95 kB / 0.6222 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007121/0.009467, allocations: 312.2 kB / 0.6225 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.009595, allocations: 30.56 kB / 0.6225 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.009687, allocations: 24.97 kB / 0.6225 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.009711, allocations: 7.922 kB / 0.6225 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.00999, allocations: 103.2 kB / 0.6226 GB, free: 316 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.009991, allocations: 3.938 kB / 0.6226 GB, free: 312 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004553/0.01045, allocations: 137.5 kB / 0.6228 GB, free: 168 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.01049, allocations: 51.41 kB / 0.6228 GB, free: 104 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.01066, allocations: 143.8 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.01069, allocations: 33.7 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.01078, allocations: 112.2 kB / 0.6231 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.01081, allocations: 27.8 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/0.0109, allocations: 49.69 kB / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.01105, allocations: 322.8 kB / 0.6235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.01123, allocations: 81.66 kB / 0.6235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.01147, allocations: 160.8 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.01183, allocations: 200.7 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.01183, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005519/0.01238, allocations: 280.6 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.01243, allocations: 33.7 kB / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.01244, allocations: 4 kB / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.01246, allocations: 4.375 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.01257, allocations: 27.97 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.01258, allocations: 7.938 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.01281, allocations: 43.86 kB / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.01284, allocations: 11.98 kB / 0.6243 GB, free: 14.43 MB / 0.545 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 0.0001236/0.01297, allocations: 134.7 kB / 0.6244 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.01299, allocations: 7.953 kB / 0.6244 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.01303, allocations: 20.8 kB / 0.6244 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01304, allocations: 4 kB / 0.6244 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.01304, allocations: 0 / 0.6244 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01304, allocations: 384 / 0.6244 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.01361, allocations: 341.9 kB / 0.6248 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01361, allocations: 4 kB / 0.6248 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.412e-05/0.0137, allocations: 12 kB / 0.6248 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.01371, allocations: 3.984 kB / 0.6248 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01372, allocations: 4 kB / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01372, allocations: 4 kB / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01373, allocations: 4 kB / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.01418, allocations: 243.3 kB / 0.625 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.01419, allocations: 7.953 kB / 0.625 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01421, allocations: 3.938 kB / 0.625 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.01431, allocations: 11.98 kB / 0.6251 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.01435, allocations: 7.984 kB / 0.6251 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.01436, allocations: 7.938 kB / 0.6251 GB, free: 13.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.797e-05/0.01445, allocations: 113.8 kB / 0.6252 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01445, allocations: 0 / 0.6252 GB, free: 13.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003027/0.01475, allocations: 31.95 kB / 0.6252 GB, free: 13.42 MB / 0.545 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.0001816/0.01494, allocations: 107.2 kB / 0.6253 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.01536, allocations: 197.4 kB / 0.6255 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.01536, allocations: 4.25 kB / 0.6255 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.01548, allocations: 35.92 kB / 0.6255 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.01579, allocations: 20.36 kB / 0.6256 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.01635, allocations: 241.6 kB / 0.6258 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.462e-05/0.01645, allocations: 105.6 kB / 0.6259 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.832e-05/0.01651, allocations: 12.64 kB / 0.6259 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.01654, allocations: 24.5 kB / 0.6259 GB, free: 12.62 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.01654, allocations: 0 / 0.6259 GB, free: 12.62 MB / 0.545 GB Notification: Performance of Templates: time 0.005165/0.02171, allocations: 1.74 MB / 0.6276 GB, free: 10.94 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.837381508201361] Failed to read output from testmodel.py, exit status != 0: 0.03031197562813759 0.043732316 0.034197262 Calling exit ...