Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001168/0.001168, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001843/0.001843, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.08/1.08, allocations: 177.1 MB / 203.8 MB, free: 5.496 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-545:108: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-545:116: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.7985/0.7985, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 480 MB, free: 6.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.438e-05, allocations: 4.922 kB / 480 MB, free: 6.879 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001542/0.001557, allocations: 0.7133 MB / 480.7 MB, free: 6.199 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.002779, allocations: 1.144 MB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.002825, allocations: 0.625 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.00285, allocations: 10.42 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.002917, allocations: 7.219 kB / 481.9 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.003159, allocations: 52.73 kB / 481.9 MB, free: 4.984 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.003262, allocations: 68.38 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.961e-05/0.003332, allocations: 8.984 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.519e-05/0.003427, allocations: 37.92 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.003481, allocations: 35.28 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.003497, allocations: 4 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.307e-05/0.00357, allocations: 19.98 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.003593, allocations: 22.55 kB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.003622, allocations: 21.62 kB / 482.2 MB, free: 4.789 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003741, allocations: 65.45 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003743, allocations: 0 / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003743, allocations: 0 / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.003746, allocations: 0 / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003663/0.004112, allocations: 281.1 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.004143, allocations: 8.031 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.00423, allocations: 17.5 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.385e-05/0.004313, allocations: 123.2 kB / 482.6 MB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.004328, allocations: 4.375 kB / 482.6 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.00434, allocations: 8.906 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.004451, allocations: 75.48 kB / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004459, allocations: 192 / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.004469, allocations: 9.672 kB / 482.7 MB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.004474, allocations: 384 / 482.7 MB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.004508, allocations: 14.05 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.004781, allocations: 181.2 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.004856, allocations: 47.25 kB / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.004879, allocations: 16.86 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.004891, allocations: 0.625 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.684e-05/0.004967, allocations: 76.61 kB / 483.1 MB, free: 3.797 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.113e-06/0.004969, allocations: 0 / 483.1 MB, free: 3.797 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001389/0.005107, allocations: 77.73 kB / 483.1 MB, free: 3.715 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.00514, allocations: 51.41 kB / 483.2 MB, free: 3.652 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.83e-05/0.005198, allocations: 115.2 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.005216, allocations: 34.88 kB / 483.3 MB, free: 3.488 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.005248, allocations: 92.3 kB / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.005276, allocations: 27.72 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.005323, allocations: 38.75 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.005404, allocations: 322.8 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.005426, allocations: 8 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.005464, allocations: 37.72 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.573e-05/0.00553, allocations: 56.59 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.005532, allocations: 0 / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001023/0.005634, allocations: 89.36 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.005644, allocations: 4.781 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.00565, allocations: 4 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.005662, allocations: 5.375 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.005754, allocations: 23.98 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.005757, allocations: 0 / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.005794, allocations: 16.67 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.005804, allocations: 4 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 6.382e-05/0.005868, allocations: 118.7 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.005882, allocations: 15.86 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.474e-05/0.005977, allocations: 67.17 kB / 484.3 MB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.00598, allocations: 7.875 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.005981, allocations: 4 kB / 484.3 MB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.005986, allocations: 4.609 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.006178, allocations: 215.4 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.006181, allocations: 3.984 kB / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.006218, allocations: 8.625 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.00622, allocations: 0.5938 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.006227, allocations: 3.938 kB / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.006229, allocations: 1.094 kB / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.006232, allocations: 4 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.006339, allocations: 172.4 kB / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.006348, allocations: 7.953 kB / 484.7 MB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.006363, allocations: 3.938 kB / 484.7 MB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.006426, allocations: 9.203 kB / 484.7 MB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.006454, allocations: 11.98 kB / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.00646, allocations: 0.5312 kB / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.398e-05/0.006474, allocations: 8.859 kB / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006474, allocations: 1 kB / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.00668, allocations: 23.94 kB / 484.7 MB, free: 2.012 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.128e-05/0.006771, allocations: 86.16 kB / 484.8 MB, free: 1.922 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.65e-05/0.006868, allocations: 52.77 kB / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.006871, allocations: 4 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.00691, allocations: 29.28 kB / 484.9 MB, free: 1.832 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.007073, allocations: 10.33 kB / 484.9 MB, free: 1.824 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.007461, allocations: 163.8 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.007498, allocations: 63.28 kB / 485.1 MB, free: 1.559 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.875e-05/0.007526, allocations: 10.19 kB / 485.1 MB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.007583, allocations: 59.36 kB / 485.2 MB, free: 1.492 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007583, allocations: 0 / 485.2 MB, free: 1.492 MB / 442.7 MB Notification: Performance of Templates: time 0.002511/0.01009, allocations: 1.106 MB / 486.3 MB, free: 476 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.69869444379583]