Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.0008008/0.0008008, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000784/0.000784, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8455/0.8455, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.7051/0.7051, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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: translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.701e-05, allocations: 7.859 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.00104/0.001057, allocations: 0.6467 MB / 0.6199 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000899/0.001955, allocations: 1.092 MB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.001992, allocations: 0 / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.002019, allocations: 3.938 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.002072, allocations: 7.875 kB / 0.621 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.002299, allocations: 39.83 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.979e-05/0.002379, allocations: 51.84 kB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.002464, allocations: 15.92 kB / 0.6211 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.002528, allocations: 27.91 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.619e-05/0.002564, allocations: 19.92 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.002579, allocations: 8 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.251e-05/0.002631, allocations: 23.91 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.002648, allocations: 7.938 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.002672, allocations: 11.98 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.002792, allocations: 75.75 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.002793, allocations: 0 / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002794, allocations: 0 / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.002798, allocations: 0 / 0.6213 GB, free: 11.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003664/0.003164, allocations: 282.2 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.003195, allocations: 12.03 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.003258, allocations: 16.88 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.438e-05/0.003323, allocations: 101.8 kB / 0.6217 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.003334, allocations: 8.375 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.003344, allocations: 4.375 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.003468, allocations: 66.16 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.003475, allocations: 192 / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.003484, allocations: 384 / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.003489, allocations: 384 / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.271e-05/0.003581, allocations: 47.89 kB / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.003897, allocations: 220.5 kB / 0.622 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.648e-05/0.003994, allocations: 54.48 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.618e-05/0.00404, allocations: 24.97 kB / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.004058, allocations: 7.984 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.004165, allocations: 75.39 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.004167, allocations: 4 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002353/0.004402, allocations: 121.5 kB / 0.6223 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.004432, allocations: 55.41 kB / 0.6223 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.00449, allocations: 117.7 kB / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.004501, allocations: 25.7 kB / 0.6225 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.004536, allocations: 88.14 kB / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.004551, allocations: 15.89 kB / 0.6226 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.004582, allocations: 25.72 kB / 0.6226 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.004655, allocations: 322.8 kB / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.004704, allocations: 19.98 kB / 0.6229 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.004765, allocations: 60.27 kB / 0.623 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.004871, allocations: 84.38 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.004873, allocations: 4 kB / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001386/0.005011, allocations: 113.5 kB / 0.6232 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.005024, allocations: 11.92 kB / 0.6232 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.005029, allocations: 4 kB / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.005042, allocations: 0 / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.005105, allocations: 19.92 kB / 0.6232 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005109, allocations: 4.156 kB / 0.6232 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.005142, allocations: 12.2 kB / 0.6232 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.00515, allocations: 4 kB / 0.6232 GB, free: 8.895 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 5.623e-05/0.005206, allocations: 126.8 kB / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-06/0.005212, allocations: 3.938 kB / 0.6234 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.00536, allocations: 110 kB / 0.6235 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.005362, allocations: 0 / 0.6235 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.005365, allocations: 0 / 0.6235 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.005368, allocations: 4 kB / 0.6235 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.005595, allocations: 290.1 kB / 0.6237 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.005597, allocations: 0 / 0.6237 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.005623, allocations: 11.98 kB / 0.6238 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.005625, allocations: 0 / 0.6238 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.005631, allocations: 0 / 0.6238 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.005634, allocations: 7.938 kB / 0.6238 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005634, allocations: 0 / 0.6238 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.00577, allocations: 195.4 kB / 0.624 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.005777, allocations: 7.953 kB / 0.624 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.005789, allocations: 0 / 0.624 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.005826, allocations: 11.92 kB / 0.624 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.005858, allocations: 11.97 kB / 0.624 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.005863, allocations: 4 kB / 0.624 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.57e-05/0.005888, allocations: 79.28 kB / 0.6241 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005889, allocations: 0 / 0.6241 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001546/0.006043, allocations: 16 kB / 0.6241 GB, free: 7.961 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.955e-05/0.006143, allocations: 107.2 kB / 0.6242 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.006281, allocations: 63.89 kB / 0.6242 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006282, allocations: 0 / 0.6242 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.246e-05/0.006334, allocations: 35.91 kB / 0.6243 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.006508, allocations: 12.25 kB / 0.6243 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.006764, allocations: 162.9 kB / 0.6244 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.497e-05/0.006809, allocations: 67.34 kB / 0.6245 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.006832, allocations: 12.5 kB / 0.6245 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.006832, allocations: 0 / 0.6245 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of Templates: time 0.001596/0.008429, allocations: 0.9017 MB / 0.6254 GB, free: 6.559 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.844106789678335] Failed to read output from testmodel.py, exit status != 0: 0.01294643059372902 0.021087023 0.015975494 Calling exit ...