Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.00145/0.00145, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00207/0.00207, allocations: 216.9 kB / 22.25 MB, free: 5.254 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.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.278/1.278, allocations: 203.5 MB / 0.5038 GB, free: 4.914 MB / 414.1 MB " [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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.91 kB / 0.7183 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7184/0.7205, allocations: 102 MB / 0.8178 GB, free: 29.1 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002401/0.7229, allocations: 0.653 MB / 0.8185 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.7246, allocations: 1.094 MB / 0.8195 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.7246, allocations: 1.312 kB / 0.8195 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.7246, allocations: 4.547 kB / 0.8195 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.7247, allocations: 6.812 kB / 0.8196 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.7251, allocations: 58.86 kB / 0.8196 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.7252, allocations: 48.69 kB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.7253, allocations: 9.938 kB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.436e-05/0.7254, allocations: 19.78 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.7255, allocations: 24.06 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.7255, allocations: 4.562 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.508e-05/0.7256, allocations: 19.58 kB / 0.8197 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.7256, allocations: 14.52 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.7256, allocations: 19.83 kB / 0.8198 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.7258, allocations: 66.28 kB / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7258, allocations: 0 / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7258, allocations: 0 / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.7258, allocations: 1.156 kB / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006583/0.7265, allocations: 291.9 kB / 0.8201 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.7265, allocations: 11.69 kB / 0.8201 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.7267, allocations: 13.23 kB / 0.8201 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.7268, allocations: 114.6 kB / 0.8202 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.7268, allocations: 6.484 kB / 0.8202 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.7268, allocations: 3.812 kB / 0.8202 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.7271, allocations: 65.23 kB / 0.8203 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.7271, allocations: 2.188 kB / 0.8203 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.7271, allocations: 3.938 kB / 0.8203 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7271, allocations: 1.031 kB / 0.8203 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.7273, allocations: 44.34 kB / 0.8204 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.7278, allocations: 224.7 kB / 0.8206 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.7279, allocations: 54.91 kB / 0.8206 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.7281, allocations: 32.83 kB / 0.8207 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.7281, allocations: 1.25 kB / 0.8207 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.7283, allocations: 79.17 kB / 0.8207 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.7283, allocations: 0 / 0.8207 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004777/0.7288, allocations: 132.7 kB / 0.8209 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.7288, allocations: 53.12 kB / 0.8209 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.7289, allocations: 106.2 kB / 0.821 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.7289, allocations: 29.7 kB / 0.821 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.7289, allocations: 83.8 kB / 0.8211 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.729, allocations: 20.78 kB / 0.8211 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.729, allocations: 26.03 kB / 0.8212 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/0.7291, allocations: 320.1 kB / 0.8215 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.7292, allocations: 24.12 kB / 0.8215 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.7293, allocations: 67.91 kB / 0.8216 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.7296, allocations: 98.59 kB / 0.8217 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7296, allocations: 0.9688 kB / 0.8217 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002891/0.7298, allocations: 121.1 kB / 0.8218 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.7299, allocations: 6.312 kB / 0.8218 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.7299, allocations: 2.625 kB / 0.8218 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.7299, allocations: 1.531 kB / 0.8218 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.73, allocations: 17.02 kB / 0.8218 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.73, allocations: 3.391 kB / 0.8218 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.7301, allocations: 12.59 kB / 0.8218 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.7301, allocations: 7.828 kB / 0.8218 GB, free: 26.13 MB / 0.6387 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 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.722e-05/0.7302, allocations: 132.1 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.7302, allocations: 2.688 kB / 0.8219 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.7305, allocations: 107.8 kB / 0.822 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.7306, allocations: 1.969 kB / 0.8221 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7306, allocations: 0 / 0.8221 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7306, allocations: 0.6094 kB / 0.8221 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.731, allocations: 300.9 kB / 0.8223 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.731, allocations: 0 / 0.8223 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.112e-05/0.7311, allocations: 14.98 kB / 0.8224 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.7311, allocations: 1.266 kB / 0.8224 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.7311, allocations: 5.125 kB / 0.8224 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.7311, allocations: 1.156 kB / 0.8224 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7311, allocations: 0.5 kB / 0.8224 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.7315, allocations: 203.8 kB / 0.8226 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.7315, allocations: 6.391 kB / 0.8226 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.7315, allocations: 1.641 kB / 0.8226 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.7316, allocations: 12.05 kB / 0.8226 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.7317, allocations: 5.844 kB / 0.8226 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.7317, allocations: 2.547 kB / 0.8226 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.7317, allocations: 85.69 kB / 0.8227 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7317, allocations: 0.5 kB / 0.8227 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002646/0.732, allocations: 16.02 kB / 0.8227 GB, free: 25.43 MB / 0.6387 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 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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 0.0001778/0.7322, allocations: 105.1 kB / 0.8228 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.7325, allocations: 82.11 kB / 0.8229 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7325, allocations: 0 / 0.8229 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.7326, allocations: 29.22 kB / 0.8229 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.7329, allocations: 10.97 kB / 0.8229 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.7333, allocations: 145.2 kB / 0.823 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.353e-05/0.7334, allocations: 71.36 kB / 0.8231 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.7334, allocations: 9.266 kB / 0.8231 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.7334, allocations: 11.83 kB / 0.8231 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.7334, allocations: 0 / 0.8231 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of Templates: time 0.004544/0.738, allocations: 0.8936 MB / 0.824 GB, free: 24.97 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.078383814543486] Failed to read output from testmodel.py, exit status != 0: 0.7471574153751135 0.76070466 0.031916324 Calling exit ...