Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.0008608/0.0008608, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008835/0.0008835, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.9964/0.9964, allocations: 230.6 MB / 256 MB, free: 9.805 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.7865/0.7865, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [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.001527/0.001527, allocations: 62.72 kB / 0.7183 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4484, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001388/0.4498, allocations: 0.6693 MB / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006738/0.4505, allocations: 0.854 MB / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.4505, allocations: 2.594 kB / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.4505, allocations: 3.938 kB / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.4506, allocations: 8.594 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.4508, allocations: 13.94 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.4509, allocations: 23.88 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.451, allocations: 3.172 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.451, allocations: 11.19 kB / 0.8195 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.4511, allocations: 17.39 kB / 0.8195 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.4511, allocations: 1.719 kB / 0.8195 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.504e-05/0.4511, allocations: 9.406 kB / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.4511, allocations: 5.781 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.4511, allocations: 16.06 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.4512, allocations: 26.81 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.4513, allocations: 4 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4513, allocations: 0 / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.4513, allocations: 0 / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003767/0.4516, allocations: 261.8 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.4517, allocations: 10.44 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.4517, allocations: 30.75 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.4518, allocations: 4.547 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.4519, allocations: 113.9 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4519, allocations: 9.219 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.4519, allocations: 5.031 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.4521, allocations: 45.62 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4521, allocations: 4.828 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.4521, allocations: 0 / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4521, allocations: 0.9375 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.4522, allocations: 34.25 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.4525, allocations: 216.5 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.429e-05/0.4526, allocations: 43.88 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.4526, allocations: 18.56 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4527, allocations: 0.6562 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.4527, allocations: 31.66 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.4527, allocations: 5.375 kB / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002097/0.4529, allocations: 80.36 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.4529, allocations: 55.34 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.974e-05/0.453, allocations: 102.1 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.453, allocations: 25.7 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.453, allocations: 81.53 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.453, allocations: 17.5 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.4531, allocations: 14.41 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.4531, allocations: 315.7 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.4532, allocations: 16.14 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.4532, allocations: 14.56 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.068e-05/0.4533, allocations: 41.34 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4533, allocations: 3.938 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001111/0.4534, allocations: 74.47 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4534, allocations: 8.141 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4534, allocations: 1.531 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4534, allocations: 3.938 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.4535, allocations: 9.688 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4535, allocations: 4.031 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.673e-05/0.4536, allocations: 13.03 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.4536, allocations: 0 / 0.8212 GB, free: 14.57 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 (2): * Single equations (assignments): 2 * 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 5.78e-05/0.4536, allocations: 110.3 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.4536, allocations: 3.203 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.4538, allocations: 75.64 kB / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4538, allocations: 4.219 kB / 0.8214 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.4538, allocations: 0 / 0.8214 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4538, allocations: 4.641 kB / 0.8214 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.4539, allocations: 134.3 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4539, allocations: 3.938 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.4539, allocations: 14.66 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4539, allocations: 0.5625 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.4539, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4539, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4539, allocations: 0.7031 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.4541, allocations: 166.2 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.4541, allocations: 7.469 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.4541, allocations: 0.5625 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.4541, allocations: 6.625 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.4541, allocations: 1.172 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.4541, allocations: 5.578 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.4542, allocations: 83.78 kB / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4542, allocations: 0 / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001384/0.4543, allocations: 5.625 kB / 0.8218 GB, free: 14 MB / 0.6198 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 (2): * Single equations (assignments): 2 * 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.0003346/0.4547, allocations: 0.697 MB / 0.8225 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.4548, allocations: 36.62 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4548, allocations: 0 / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.4548, allocations: 20.91 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.4551, allocations: 7.328 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.4554, allocations: 137.5 kB / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.4557, allocations: 0.6755 MB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.4557, allocations: 1.406 kB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.4558, allocations: 10.19 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.4558, allocations: 0 / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.4703, allocations: 1.384 MB / 0.8247 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/7.203, allocations: 5.188 kB / 0.8247 GB, free: 12.02 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.115150295896456] Failed to read output from testmodel.py, exit status != 0: 7.280251340940595 7.296775622 6.842970311 Calling exit ...