Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0008695/0.0008695, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.0008167/0.0008167, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9237/0.9237, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7288/0.7288, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [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.001132/0.001132, allocations: 73.06 kB / 0.6196 GB, free: 13.05 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.5701, allocations: 101.9 MB / 0.7192 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001565/0.5716, allocations: 0.6869 MB / 0.7198 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007284/0.5724, allocations: 0.8324 MB / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.5724, allocations: 0 / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.5724, allocations: 1.609 kB / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.5725, allocations: 9.438 kB / 0.7207 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 8.092e-05/0.5726, allocations: 15.34 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.5727, allocations: 41.88 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.5728, allocations: 9.672 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.5729, allocations: 28.45 kB / 0.7208 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.5729, allocations: 19.03 kB / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.573, allocations: 3.344 kB / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-06/0.573, allocations: 3.625 kB / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.573, allocations: 15.33 kB / 0.7208 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.573, allocations: 12.88 kB / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.558e-05/0.5731, allocations: 43.97 kB / 0.7208 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5731, allocations: 1.281 kB / 0.7208 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5731, allocations: 4 kB / 0.7209 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.5731, allocations: 0 / 0.7209 GB, free: 22.5 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003531/0.5735, allocations: 287.9 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5735, allocations: 8.688 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.5735, allocations: 8.406 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.002e-05/0.5736, allocations: 110.6 kB / 0.7212 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5736, allocations: 1.844 kB / 0.7212 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.5736, allocations: 1.875 kB / 0.7213 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.5738, allocations: 72.61 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5738, allocations: 192 / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5738, allocations: 5.812 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5738, allocations: 7.875 kB / 0.7213 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.574, allocations: 67.25 kB / 0.7214 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.5743, allocations: 207.4 kB / 0.7216 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.5744, allocations: 58.12 kB / 0.7217 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.023e-05/0.5745, allocations: 46.39 kB / 0.7217 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.5745, allocations: 1.891 kB / 0.7217 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.5745, allocations: 35.59 kB / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.5745, allocations: 0 / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003316/0.5748, allocations: 131.9 kB / 0.7219 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.5749, allocations: 53.08 kB / 0.7219 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.457e-05/0.5749, allocations: 116 kB / 0.722 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.5749, allocations: 26.31 kB / 0.722 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.575, allocations: 87.81 kB / 0.7221 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.575, allocations: 9.422 kB / 0.7221 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.575, allocations: 17.89 kB / 0.7222 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.338e-05/0.575, allocations: 317.4 kB / 0.7225 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.5751, allocations: 31.36 kB / 0.7225 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.125e-05/0.5752, allocations: 31.45 kB / 0.7225 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.5753, allocations: 70.06 kB / 0.7226 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5753, allocations: 8 kB / 0.7226 GB, free: 21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001738/0.5755, allocations: 97.8 kB / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5755, allocations: 6.328 kB / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5755, allocations: 0 / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.5755, allocations: 1.188 kB / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.5756, allocations: 15.03 kB / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.5756, allocations: 0.7031 kB / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.5757, allocations: 16.36 kB / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.5757, allocations: 4 kB / 0.7227 GB, free: 20.95 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.36e-05/0.5757, allocations: 114.7 kB / 0.7228 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.5757, allocations: 9.703 kB / 0.7228 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.5758, allocations: 9.891 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5758, allocations: 1.125 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5758, allocations: 0.6094 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5758, allocations: 5.062 kB / 0.7229 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.279e-05/0.5759, allocations: 108.2 kB / 0.723 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.5759, allocations: 4 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.5759, allocations: 24.09 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5759, allocations: 1.25 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.5759, allocations: 0 / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.5759, allocations: 0 / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5759, allocations: 1.828 kB / 0.723 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.5761, allocations: 190.8 kB / 0.7232 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.5761, allocations: 18.06 kB / 0.7232 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.5761, allocations: 1.219 kB / 0.7232 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.5762, allocations: 12.36 kB / 0.7232 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.5762, allocations: 7.469 kB / 0.7232 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.5762, allocations: 1.281 kB / 0.7232 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.759e-05/0.5763, allocations: 83.75 kB / 0.7233 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5763, allocations: 0 / 0.7233 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000149/0.5764, allocations: 14.19 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001223/0.5765, allocations: 96.88 kB / 0.7234 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.5768, allocations: 71.42 kB / 0.7235 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5768, allocations: 0 / 0.7235 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-05/0.5768, allocations: 33.73 kB / 0.7235 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.5771, allocations: 8.469 kB / 0.7235 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.5774, allocations: 133 kB / 0.7236 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.551e-05/0.5774, allocations: 63.36 kB / 0.7237 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.5775, allocations: 2.062 kB / 0.7237 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.5775, allocations: 10.69 kB / 0.7237 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.5775, allocations: 0 / 0.7237 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.002485/0.58, allocations: 0.7342 MB / 0.7244 GB, free: 20.02 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.336118142935447] Failed to read output from testmodel.py, exit status != 0: 0.5847679080907255 0.59382771 0.018903357000000003 Calling exit ...