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.0007421/0.0007421, allocations: 72.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.0007154/0.0007154, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8526/0.8526, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6777/0.6777, allocations: 154.6 MB / 414.5 MB, free: 0.7734 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.483e-06/1.483e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.936e-05, allocations: 3.781 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001131/0.00115, allocations: 0.6734 MB / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.002111, allocations: 1.1 MB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.002148, allocations: 7.938 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.002173, allocations: 3.938 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.002227, allocations: 7.922 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.002461, allocations: 51.75 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.064e-05/0.002552, allocations: 75.77 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.897e-05/0.002631, allocations: 4 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.002703, allocations: 43.95 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.002747, allocations: 27.91 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.002762, allocations: 7.984 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.002814, allocations: 27.92 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.002832, allocations: 7.984 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.002861, allocations: 31.84 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.002985, allocations: 83.73 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002987, allocations: 0 / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002987, allocations: 0 / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.002991, allocations: 4 kB / 0.6214 GB, free: 11.02 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004211/0.003412, allocations: 306.2 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.003442, allocations: 8.031 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.003506, allocations: 8.891 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.963e-05/0.003576, allocations: 113.7 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.003595, allocations: 4.375 kB / 0.6218 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.003608, allocations: 12.36 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.003748, allocations: 78.16 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.003756, allocations: 192 / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.003765, allocations: 8.375 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.003769, allocations: 384 / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.00388, allocations: 63.81 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.00421, allocations: 232.5 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.004332, allocations: 78.47 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.004391, allocations: 36.83 kB / 0.6223 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.004409, allocations: 8 kB / 0.6223 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.00453, allocations: 87.31 kB / 0.6224 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.004531, allocations: 0 / 0.6224 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002945/0.004826, allocations: 177.7 kB / 0.6226 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.004857, allocations: 59.39 kB / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.432e-05/0.004911, allocations: 105.8 kB / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.004927, allocations: 33.69 kB / 0.6228 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.004964, allocations: 96.69 kB / 0.6229 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.004991, allocations: 31.8 kB / 0.6229 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.005028, allocations: 29.7 kB / 0.6229 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.005102, allocations: 322.8 kB / 0.6232 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.005163, allocations: 39.91 kB / 0.6233 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.005235, allocations: 66.48 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.005364, allocations: 102.5 kB / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005366, allocations: 0 / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001675/0.005533, allocations: 141.8 kB / 0.6236 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.005545, allocations: 7.938 kB / 0.6236 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.00555, allocations: 4 kB / 0.6236 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.00556, allocations: 0 / 0.6236 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-05/0.005633, allocations: 27.98 kB / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.005637, allocations: 4.062 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.005668, allocations: 7.984 kB / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.005675, allocations: 4 kB / 0.6236 GB, free: 8.562 MB / 0.5886 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 6.142e-05/0.005736, allocations: 126.8 kB / 0.6237 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.005745, allocations: 11.89 kB / 0.6237 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.005934, allocations: 142 kB / 0.6239 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.005937, allocations: 4 kB / 0.6239 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.005943, allocations: 0 / 0.6239 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.005947, allocations: 7.984 kB / 0.6239 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.006229, allocations: 346 kB / 0.6242 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.00623, allocations: 0 / 0.6242 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.00626, allocations: 11.98 kB / 0.6242 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.006262, allocations: 4 kB / 0.6242 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.006271, allocations: 7.984 kB / 0.6242 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006272, allocations: 0 / 0.6242 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006273, allocations: 3.938 kB / 0.6243 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.006452, allocations: 243.5 kB / 0.6245 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.006457, allocations: 7.953 kB / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.00647, allocations: 7.984 kB / 0.6245 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.00652, allocations: 11.98 kB / 0.6245 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.006553, allocations: 4 kB / 0.6245 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.006561, allocations: 7.984 kB / 0.6245 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.006588, allocations: 79.28 kB / 0.6246 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006588, allocations: 0 / 0.6246 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000152/0.00674, allocations: 20 kB / 0.6246 GB, free: 7.465 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: 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.981e-05/0.00684, allocations: 112.9 kB / 0.6247 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.00701, allocations: 95.88 kB / 0.6248 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007011, allocations: 0 / 0.6248 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.774e-05/0.007079, allocations: 43.95 kB / 0.6249 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.007246, allocations: 11.94 kB / 0.6249 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.007501, allocations: 187.4 kB / 0.625 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.007542, allocations: 67.34 kB / 0.6251 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.007568, allocations: 16.48 kB / 0.6251 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of SimCode: time 3.8e-07/0.007569, allocations: 0 / 0.6251 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of Templates: time 0.001692/0.009261, allocations: 1.125 MB / 0.6262 GB, free: 5.766 MB / 0.5886 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: 4.840223693288863] Failed to read output from testmodel.py, exit status != 0: 0.013473263010382652 0.020786078000000003 0.016241714 Calling exit ...