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.0007002/0.0007002, allocations: 100.4 kB / 19.7 MB, free: 444 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.0007182/0.0007182, allocations: 208.7 kB / 23 MB, free: 2.988 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.8802/0.8802, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7016/0.7016, allocations: 203.8 MB / 0.5049 GB, free: 10.43 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.0008812/0.0008812, allocations: 67.47 kB / 0.7194 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4155, allocations: 102 MB / 0.8191 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001391/0.4169, allocations: 0.833 MB / 0.8199 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007104/0.4176, allocations: 0.9128 MB / 0.8208 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.4177, allocations: 2.531 kB / 0.8208 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.4177, allocations: 18.11 kB / 0.8208 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.4178, allocations: 11.75 kB / 0.8208 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.4179, allocations: 69.09 kB / 0.8209 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.4181, allocations: 138.3 kB / 0.821 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.4183, allocations: 53.25 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.4183, allocations: 50 kB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.4184, allocations: 55.44 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.4184, allocations: 12.41 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.4184, allocations: 13.06 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.4185, allocations: 30.45 kB / 0.8212 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.4185, allocations: 58.08 kB / 0.8213 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.4187, allocations: 146.5 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4187, allocations: 0 / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4187, allocations: 1.281 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4187, allocations: 0 / 0.8214 GB, free: 15.8 MB / 0.6198 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.0004583/0.4191, allocations: 368.8 kB / 0.8217 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4192, allocations: 9.406 kB / 0.8218 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.4192, allocations: 16.66 kB / 0.8218 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.4194, allocations: 163.5 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4194, allocations: 10.34 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.4194, allocations: 12.12 kB / 0.8219 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.4197, allocations: 225 kB / 0.8222 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4197, allocations: 4.172 kB / 0.8222 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4197, allocations: 9.688 kB / 0.8222 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4197, allocations: 2.781 kB / 0.8222 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.4199, allocations: 133.8 kB / 0.8223 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.4204, allocations: 380.4 kB / 0.8227 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.4205, allocations: 76.28 kB / 0.8227 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.4206, allocations: 43.09 kB / 0.8228 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.4206, allocations: 5.438 kB / 0.8228 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.4206, allocations: 44.31 kB / 0.8228 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.4206, allocations: 0 / 0.8228 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002943/0.4209, allocations: 151 kB / 0.823 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.421, allocations: 53.75 kB / 0.823 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.4211, allocations: 149.9 kB / 0.8232 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.4211, allocations: 27.08 kB / 0.8232 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.4211, allocations: 126.7 kB / 0.8233 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.4212, allocations: 38.48 kB / 0.8234 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.4212, allocations: 32.31 kB / 0.8234 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.4213, allocations: 320.4 kB / 0.8237 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.4213, allocations: 42.34 kB / 0.8237 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.254e-05/0.4214, allocations: 45.2 kB / 0.8238 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.4215, allocations: 93.44 kB / 0.8239 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4215, allocations: 1.031 kB / 0.8239 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001814/0.4217, allocations: 151.1 kB / 0.824 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4217, allocations: 5.781 kB / 0.824 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4217, allocations: 0.75 kB / 0.824 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4217, allocations: 1.594 kB / 0.824 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4218, allocations: 23.61 kB / 0.824 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4219, allocations: 4.812 kB / 0.824 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.4219, allocations: 15.34 kB / 0.8241 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4219, allocations: 3.266 kB / 0.8241 GB, free: 13.78 MB / 0.6198 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 6.674e-05/0.422, allocations: 125.1 kB / 0.8242 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.422, allocations: 16.3 kB / 0.8242 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.4222, allocations: 138.3 kB / 0.8243 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4222, allocations: 1.625 kB / 0.8243 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4222, allocations: 1.031 kB / 0.8243 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4222, allocations: 0 / 0.8243 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.4226, allocations: 379.8 kB / 0.8247 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.4226, allocations: 4.781 kB / 0.8247 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.4226, allocations: 25.17 kB / 0.8247 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4226, allocations: 2.031 kB / 0.8247 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4226, allocations: 1.344 kB / 0.8247 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.4226, allocations: 2.047 kB / 0.8247 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4226, allocations: 1.438 kB / 0.8247 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.4228, allocations: 238.8 kB / 0.825 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.4228, allocations: 17.27 kB / 0.825 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.4228, allocations: 6 kB / 0.825 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.4229, allocations: 13.31 kB / 0.825 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.423, allocations: 12 kB / 0.825 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.423, allocations: 7.844 kB / 0.825 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.843e-05/0.423, allocations: 113.1 kB / 0.8251 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.423, allocations: 0 / 0.8251 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001574/0.4232, allocations: 23.31 kB / 0.8251 GB, free: 12.95 MB / 0.6198 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 8.773e-05/0.4233, allocations: 106.6 kB / 0.8252 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.4235, allocations: 101.2 kB / 0.8253 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4235, allocations: 0 / 0.8253 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.4235, allocations: 44.98 kB / 0.8254 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.4237, allocations: 11.69 kB / 0.8254 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.4241, allocations: 285.2 kB / 0.8257 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.299e-05/0.4242, allocations: 93.25 kB / 0.8257 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.4242, allocations: 15.67 kB / 0.8258 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of SimCode: time 4.9e-07/0.4242, allocations: 0 / 0.8258 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.002277/0.4265, allocations: 1.456 MB / 0.8272 GB, free: 12.35 MB / 0.6198 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.121017512399703] Failed to read output from testmodel.py, exit status != 0: 0.4315747730433941 0.440593694 0.020087904 Calling exit ...