Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.0008293/0.0008293, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008349/0.0008349, allocations: 211.9 kB / 23.01 MB, free: 3.113 MB / 13.93 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.9067/0.9067, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7257/0.7257, allocations: 203.8 MB / 0.5049 GB, free: 0.6914 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") [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.0008874/0.0008874, allocations: 67.83 kB / 0.7195 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3872, allocations: 102 MB / 0.8191 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001468/0.3886, allocations: 0.88 MB / 0.82 GB, free: 24.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007786/0.3894, allocations: 0.9189 MB / 0.8209 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.3895, allocations: 6.938 kB / 0.8209 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.3895, allocations: 10.31 kB / 0.8209 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.129e-05/0.3896, allocations: 12.5 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.3898, allocations: 75.83 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3899, allocations: 136.4 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3901, allocations: 54.53 kB / 0.8212 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.146e-05/0.3902, allocations: 57.27 kB / 0.8212 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.961e-05/0.3902, allocations: 62.77 kB / 0.8213 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.3902, allocations: 14.5 kB / 0.8213 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.3903, allocations: 13.31 kB / 0.8213 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.3903, allocations: 30.06 kB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.3903, allocations: 57.27 kB / 0.8214 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.3905, allocations: 152.4 kB / 0.8215 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3905, allocations: 0 / 0.8215 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3905, allocations: 0 / 0.8215 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3905, allocations: 0.5 kB / 0.8215 GB, free: 23.65 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000433/0.3909, allocations: 360.6 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.391, allocations: 12.33 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.391, allocations: 20.69 kB / 0.8219 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.3912, allocations: 158.2 kB / 0.8221 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3912, allocations: 10.22 kB / 0.8221 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.3912, allocations: 13.47 kB / 0.8221 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.3915, allocations: 151 kB / 0.8222 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3915, allocations: 5.219 kB / 0.8222 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.3915, allocations: 13.47 kB / 0.8222 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3915, allocations: 4.094 kB / 0.8223 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.3917, allocations: 125.7 kB / 0.8224 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.3922, allocations: 455.7 kB / 0.8228 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.3923, allocations: 86.95 kB / 0.8229 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.3924, allocations: 42.88 kB / 0.8229 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3924, allocations: 5.719 kB / 0.8229 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.3924, allocations: 37.06 kB / 0.823 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.3924, allocations: 0.875 kB / 0.823 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002906/0.3927, allocations: 157.5 kB / 0.8231 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.3927, allocations: 53.09 kB / 0.8232 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3928, allocations: 196.8 kB / 0.8234 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.3928, allocations: 30.7 kB / 0.8234 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.3929, allocations: 110 kB / 0.8235 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3929, allocations: 39.41 kB / 0.8235 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.3929, allocations: 23.73 kB / 0.8236 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.139e-05/0.393, allocations: 331 kB / 0.8239 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.393, allocations: 40.94 kB / 0.8239 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.09e-05/0.3931, allocations: 39.28 kB / 0.8239 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3932, allocations: 97.39 kB / 0.824 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3932, allocations: 0 / 0.824 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002053/0.3935, allocations: 151.9 kB / 0.8242 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3935, allocations: 5.766 kB / 0.8242 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3935, allocations: 4.828 kB / 0.8242 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3935, allocations: 0.5312 kB / 0.8242 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3936, allocations: 32.5 kB / 0.8242 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3936, allocations: 1.062 kB / 0.8242 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.3937, allocations: 21.08 kB / 0.8242 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3937, allocations: 7.188 kB / 0.8243 GB, free: 21.67 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 (13): * Single equations (assignments): 13 * 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.774e-05/0.3937, allocations: 125 kB / 0.8244 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.3937, allocations: 11.2 kB / 0.8244 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.3939, allocations: 144.9 kB / 0.8245 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3939, allocations: 2.484 kB / 0.8245 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3939, allocations: 0 / 0.8245 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3939, allocations: 0.7969 kB / 0.8245 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.3942, allocations: 431 kB / 0.8249 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3942, allocations: 1.672 kB / 0.8249 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.3943, allocations: 21.17 kB / 0.825 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3943, allocations: 2.125 kB / 0.825 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3943, allocations: 2.906 kB / 0.825 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3943, allocations: 6.516 kB / 0.825 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3943, allocations: 1.375 kB / 0.825 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.3945, allocations: 250.1 kB / 0.8252 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.3945, allocations: 18.94 kB / 0.8252 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.3945, allocations: 7.484 kB / 0.8252 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.3946, allocations: 20.58 kB / 0.8253 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3946, allocations: 15.33 kB / 0.8253 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.3946, allocations: 8.359 kB / 0.8253 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.3947, allocations: 147.1 kB / 0.8254 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3947, allocations: 0 / 0.8254 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001551/0.3948, allocations: 22.03 kB / 0.8254 GB, free: 20.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 7.37e-05/0.3949, allocations: 99.58 kB / 0.8255 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.3951, allocations: 95.98 kB / 0.8256 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3951, allocations: 1 kB / 0.8256 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.3951, allocations: 45.59 kB / 0.8257 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.3954, allocations: 20.41 kB / 0.8257 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.3957, allocations: 291.5 kB / 0.826 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.824e-05/0.3958, allocations: 0.7101 MB / 0.8267 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.3958, allocations: 17.08 kB / 0.8267 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.3958, allocations: 0 / 0.8267 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of Templates: time 0.002331/0.3981, allocations: 1.559 MB / 0.8282 GB, free: 19.55 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.453648399794474] Failed to read output from testmodel.py, exit status != 0: 0.4030814738944173 0.40985653899999996 0.017879363000000002 Calling exit ...