Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009772/0.0009772, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001066/0.001066, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9135/0.9135, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.7274/0.7274, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.395e-05, allocations: 6.281 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001086/0.0011, allocations: 0.6504 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006713/0.001771, allocations: 0.8548 MB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.001805, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.001828, allocations: 7.875 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.233e-05/0.001881, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.002038, allocations: 7.984 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.869e-05/0.002097, allocations: 27.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.664e-05/0.002173, allocations: 3.938 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.002232, allocations: 19.98 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.737e-05/0.00226, allocations: 3.984 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.002272, allocations: 8 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.546e-05/0.002308, allocations: 11.92 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.00232, allocations: 4 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.002337, allocations: 7.938 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.414e-05/0.002421, allocations: 27.89 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002423, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002424, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.002427, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 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.000297/0.002724, allocations: 254.4 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.002765, allocations: 12.03 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.002791, allocations: 34.75 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.002846, allocations: 4.891 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.042e-05/0.002917, allocations: 105.8 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.002927, allocations: 4.375 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.002933, allocations: 384 / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.003042, allocations: 50.23 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.003049, allocations: 192 / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.003057, allocations: 4.375 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.003062, allocations: 4.125 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.003151, allocations: 39.89 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.0034, allocations: 212 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.003475, allocations: 38.59 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.003517, allocations: 20.91 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.003533, allocations: 0 / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.003549, allocations: 34.5 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.00355, allocations: 7.938 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002072/0.003757, allocations: 89.53 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.003783, allocations: 51.41 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.065e-05/0.003834, allocations: 105.8 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.003843, allocations: 25.7 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.003871, allocations: 84.08 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.003886, allocations: 3.953 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.00391, allocations: 17.72 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.003972, allocations: 311 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.004009, allocations: 23.97 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.004041, allocations: 19.92 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.985e-05/0.004111, allocations: 40.77 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004113, allocations: 0 / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.196e-05/0.004204, allocations: 73.66 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.004216, allocations: 4 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.004219, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.00423, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.5e-05/0.004285, allocations: 11.98 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.004288, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.004308, allocations: 7.984 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.004312, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 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.862e-05/0.004361, allocations: 110.8 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.004372, allocations: 11.97 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.004488, allocations: 76.86 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.004489, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.004492, allocations: 192 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.004494, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.029e-05/0.004585, allocations: 128.7 kB / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.004586, allocations: 4 kB / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.004607, allocations: 7.984 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.004609, allocations: 3.969 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.004617, allocations: 12 kB / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.004617, allocations: 0 / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.004618, allocations: 0 / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.004729, allocations: 163.4 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-06/0.004734, allocations: 3.938 kB / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.004742, allocations: 0 / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.004776, allocations: 11.92 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.004806, allocations: 4 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.004808, allocations: 4.031 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.489e-05/0.004833, allocations: 87.27 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004833, allocations: 0 / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001327/0.004966, allocations: 4 kB / 0.622 GB, free: 9.391 MB / 0.5886 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.000271/0.005237, allocations: 0.689 MB / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.005348, allocations: 39.94 kB / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.005349, allocations: 4 kB / 0.6227 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.005387, allocations: 19.97 kB / 0.6227 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.005576, allocations: 4 kB / 0.6227 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.005863, allocations: 130.5 kB / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.005899, allocations: 63.34 kB / 0.6229 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.607e-05/0.005916, allocations: 8.062 kB / 0.6229 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.005947, allocations: 12.5 kB / 0.6229 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.005947, allocations: 0 / 0.6229 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.01848, allocations: 1.933 MB / 0.6248 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/6.68, allocations: 11.38 kB / 0.6248 GB, free: 6.531 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Cos.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.315777633339167] Failed to read output from testmodel.py, exit status != 0: 6.760866194032133 6.769774115 6.765302517 Calling exit ...