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.001602/0.001602, allocations: 80.2 kB / 19.18 MB, free: 2.516 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.001834/0.001834, allocations: 165.6 kB / 22.45 MB, free: 5.375 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.467/1.467, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.157/1.157, allocations: 154.7 MB / 413.9 MB, free: 5.125 MB / 382.1 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 178] 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 2.164e-06/2.164e-06, allocations: 0 / 0.6187 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.008e-05, allocations: 3.219 kB / 0.6187 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001791/0.001821, allocations: 0.6673 MB / 0.6194 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.003524, allocations: 1.1 MB / 0.6204 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.00358, allocations: 3.938 kB / 0.6205 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.003614, allocations: 11.81 kB / 0.6205 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/0.003688, allocations: 7.938 kB / 0.6205 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.004031, allocations: 55.73 kB / 0.6205 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.004175, allocations: 59.91 kB / 0.6206 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.004286, allocations: 11.98 kB / 0.6206 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.004399, allocations: 51.83 kB / 0.6206 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.004476, allocations: 27.95 kB / 0.6207 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.004501, allocations: 8 kB / 0.6207 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-05/0.004576, allocations: 15.94 kB / 0.6207 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.00461, allocations: 19.92 kB / 0.6207 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.004659, allocations: 23.97 kB / 0.6207 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.004867, allocations: 83.73 kB / 0.6208 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.00487, allocations: 0 / 0.6208 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004871, allocations: 0 / 0.6208 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.004876, allocations: 0 / 0.6208 GB, free: 2.426 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007075/0.005584, allocations: 310.1 kB / 0.6211 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.00562, allocations: 12.03 kB / 0.6211 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.775e-05/0.005708, allocations: 12.88 kB / 0.6211 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.005836, allocations: 117.7 kB / 0.6212 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.005858, allocations: 4.375 kB / 0.6212 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.005881, allocations: 8.375 kB / 0.6213 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.006108, allocations: 82.14 kB / 0.6213 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.006119, allocations: 192 / 0.6213 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.006134, allocations: 8.375 kB / 0.6213 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.006141, allocations: 4.375 kB / 0.6213 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.006335, allocations: 51.89 kB / 0.6214 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.006821, allocations: 240.5 kB / 0.6216 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.007023, allocations: 78.47 kB / 0.6217 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.007137, allocations: 36.83 kB / 0.6217 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.007156, allocations: 8 kB / 0.6217 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.007392, allocations: 95.42 kB / 0.6218 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.007393, allocations: 0 / 0.6218 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0005187/0.007912, allocations: 177.4 kB / 0.622 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.007982, allocations: 55.41 kB / 0.6221 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.008076, allocations: 105.8 kB / 0.6222 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.008105, allocations: 37.7 kB / 0.6222 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.008173, allocations: 84.38 kB / 0.6223 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.008215, allocations: 35.77 kB / 0.6223 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.008281, allocations: 29.7 kB / 0.6223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.008439, allocations: 318.8 kB / 0.6226 GB, free: 388 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.008565, allocations: 35.97 kB / 0.6227 GB, free: 352 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.008721, allocations: 65.34 kB / 0.6227 GB, free: 280 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.00896, allocations: 106.5 kB / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.008962, allocations: 0 / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003441/0.009306, allocations: 137.5 kB / 0.623 GB, free: 20 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.009325, allocations: 11.92 kB / 0.623 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.009331, allocations: 0 / 0.623 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.009351, allocations: 4 kB / 0.623 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.009497, allocations: 15.98 kB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.009503, allocations: 8.062 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.704e-05/0.00958, allocations: 19.88 kB / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.009593, allocations: 4 kB / 0.623 GB, free: 15.96 MB / 0.545 GB 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 0.0001085/0.009701, allocations: 126.8 kB / 0.6232 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.009717, allocations: 7.891 kB / 0.6232 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.01007, allocations: 146 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01007, allocations: 0 / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01008, allocations: 4 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01008, allocations: 0 / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.0106, allocations: 346.5 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.0106, allocations: 4.188 kB / 0.6236 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.01067, allocations: 11.98 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.01068, allocations: 4.094 kB / 0.6237 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.01069, allocations: 7.938 kB / 0.6237 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01069, allocations: 0 / 0.6237 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01069, allocations: 0 / 0.6237 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.01107, allocations: 251.2 kB / 0.6239 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.01108, allocations: 11.89 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.0111, allocations: 4 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.0112, allocations: 7.984 kB / 0.6239 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.01124, allocations: 7.984 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.01125, allocations: 4 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.01131, allocations: 87.27 kB / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01131, allocations: 3.938 kB / 0.624 GB, free: 14.87 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000247/0.01156, allocations: 24 kB / 0.624 GB, free: 14.85 MB / 0.545 GB 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 0.0001774/0.01174, allocations: 103.2 kB / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.01209, allocations: 91.88 kB / 0.6242 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01209, allocations: 0 / 0.6242 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.01222, allocations: 47.91 kB / 0.6243 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.01249, allocations: 12.05 kB / 0.6243 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.0129, allocations: 164.5 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.177e-05/0.01298, allocations: 76.58 kB / 0.6245 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.01302, allocations: 4.5 kB / 0.6245 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.01306, allocations: 16.48 kB / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.01306, allocations: 288 / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of Templates: time 0.004282/0.01734, allocations: 1.07 MB / 0.6256 GB, free: 13.25 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.813355389982462] Failed to read output from testmodel.py, exit status != 0: 0.02616441249847412 0.041022073 0.033091317 Calling exit ...