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.0007506/0.0007506, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008014/0.0008014, allocations: 162 kB / 22.43 MB, free: 2.145 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.8506/0.8506, allocations: 177.2 MB / 202.8 MB, free: 5.789 MB / 186.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.6949/0.6949, allocations: 155 MB / 414.2 MB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.0008752/0.0008752, allocations: 73.27 kB / 0.6187 GB, free: 13.14 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4513/0.4522, allocations: 102 MB / 0.7183 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.0016/0.4538, allocations: 0.654 MB / 0.7189 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008281/0.4546, allocations: 0.8488 MB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.4547, allocations: 5.844 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.4547, allocations: 0 / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.4547, allocations: 4.547 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.4549, allocations: 13.69 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.663e-05/0.455, allocations: 24.45 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.4551, allocations: 8.172 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.4551, allocations: 14.62 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.575e-05/0.4552, allocations: 9.891 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.4552, allocations: 1.5 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.021e-05/0.4552, allocations: 8.312 kB / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.4553, allocations: 6.578 kB / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.4553, allocations: 12.17 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.4554, allocations: 33.95 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4554, allocations: 2.141 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4554, allocations: 0 / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.4554, allocations: 0 / 0.7199 GB, free: 22.04 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003144/0.4557, allocations: 261.7 kB / 0.7202 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4557, allocations: 10.67 kB / 0.7202 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.183e-05/0.4558, allocations: 32.03 kB / 0.7202 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.4558, allocations: 7.781 kB / 0.7202 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.511e-05/0.4559, allocations: 114 kB / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.4559, allocations: 1.781 kB / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.4559, allocations: 0.9375 kB / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.4561, allocations: 49.69 kB / 0.7204 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.4561, allocations: 3.938 kB / 0.7204 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-06/0.4561, allocations: 1.156 kB / 0.7204 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4561, allocations: 0 / 0.7204 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.791e-05/0.4562, allocations: 36.84 kB / 0.7204 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.4564, allocations: 223 kB / 0.7206 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.497e-05/0.4565, allocations: 40.47 kB / 0.7207 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.4566, allocations: 22.88 kB / 0.7207 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.4566, allocations: 1.5 kB / 0.7207 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.4566, allocations: 31.69 kB / 0.7207 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4566, allocations: 4.844 kB / 0.7207 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002269/0.4569, allocations: 84.72 kB / 0.7208 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.4569, allocations: 51.41 kB / 0.7208 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.397e-05/0.4569, allocations: 97.42 kB / 0.7209 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.4569, allocations: 26.27 kB / 0.721 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.4569, allocations: 89.78 kB / 0.7211 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.457, allocations: 9.703 kB / 0.7211 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.457, allocations: 12.8 kB / 0.7211 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.179e-05/0.457, allocations: 317.2 kB / 0.7214 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/0.4571, allocations: 13.7 kB / 0.7214 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.482e-05/0.4571, allocations: 22.84 kB / 0.7214 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.549e-05/0.4572, allocations: 42.06 kB / 0.7215 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4572, allocations: 3.938 kB / 0.7215 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.4573, allocations: 66.73 kB / 0.7215 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4573, allocations: 5.781 kB / 0.7215 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4573, allocations: 4.75 kB / 0.7215 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4573, allocations: 1.312 kB / 0.7215 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.784e-05/0.4574, allocations: 8.344 kB / 0.7215 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4574, allocations: 1.156 kB / 0.7215 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.4575, allocations: 6.156 kB / 0.7215 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.4575, allocations: 1.062 kB / 0.7215 GB, free: 20.48 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 (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 4.78e-05/0.4575, allocations: 117.8 kB / 0.7217 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.4575, allocations: 5.047 kB / 0.7217 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.4577, allocations: 79.77 kB / 0.7217 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4577, allocations: 0 / 0.7217 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4577, allocations: 1.094 kB / 0.7217 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4577, allocations: 0.7969 kB / 0.7217 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.853e-05/0.4578, allocations: 128.5 kB / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4578, allocations: 1.25 kB / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.4578, allocations: 8.734 kB / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4578, allocations: 0 / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4578, allocations: 0.5156 kB / 0.7219 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.4578, allocations: 5.25 kB / 0.7219 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4578, allocations: 0 / 0.7219 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.4579, allocations: 168.3 kB / 0.722 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.4579, allocations: 9.609 kB / 0.722 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.458, allocations: 2.156 kB / 0.722 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.458, allocations: 5.359 kB / 0.7221 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.458, allocations: 3.141 kB / 0.7221 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.458, allocations: 4 kB / 0.7221 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.683e-05/0.4581, allocations: 84.23 kB / 0.7221 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4581, allocations: 5.156 kB / 0.7221 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001411/0.4582, allocations: 7.562 kB / 0.7222 GB, free: 19.9 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 (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.0002544/0.4585, allocations: 0.6876 MB / 0.7228 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.4586, allocations: 39.48 kB / 0.7229 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4586, allocations: 4.094 kB / 0.7229 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.4586, allocations: 23.72 kB / 0.7229 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.4589, allocations: 3.812 kB / 0.7229 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.4592, allocations: 138.5 kB / 0.723 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.744e-05/0.4593, allocations: 59.83 kB / 0.7231 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.084e-05/0.4593, allocations: 1.641 kB / 0.7231 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.4593, allocations: 15.31 kB / 0.7231 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.4593, allocations: 4.062 kB / 0.7231 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.4768, allocations: 1.926 MB / 0.725 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.441/6.918, allocations: 1.875 kB / 0.725 GB, free: 18.09 MB / 0.6355 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: 9.520384265109897] Failed to read output from testmodel.py, exit status != 0: 6.992598490091041 7.000387912 6.543299929 Calling exit ...