Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.001014/0.001014, 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.001075/0.001075, allocations: 165.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.897/0.897, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6791/0.6791, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.596e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001047/0.001063, allocations: 0.5338 MB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.001222, allocations: 35.88 kB / 0.6186 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.001279, allocations: 11.88 kB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.001313, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.001476, allocations: 3.938 kB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.7e-05/0.001533, allocations: 11.92 kB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.001599, allocations: 7.938 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.001646, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.001712, allocations: 19.91 kB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.001784, allocations: 8 kB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.001807, allocations: 0 / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/0.001816, allocations: 4 kB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.001864, allocations: 3.984 kB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.001887, allocations: 4 kB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.071e-05/0.001948, allocations: 11.92 kB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.001951, allocations: 4 kB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.41e-07/0.001952, allocations: 0 / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.001955, allocations: 0 / 0.6187 GB, free: 13.05 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003352/0.00229, allocations: 250.4 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.002327, allocations: 12.03 kB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.002356, allocations: 30.75 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.864e-05/0.002374, allocations: 4.938 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.002517, allocations: 121.7 kB / 0.6191 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.002525, allocations: 384 / 0.6191 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.002541, allocations: 4.375 kB / 0.6191 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.379e-05/0.002614, allocations: 30.25 kB / 0.6192 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.002621, allocations: 4.188 kB / 0.6192 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.002629, allocations: 384 / 0.6192 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.002635, allocations: 8.062 kB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.655e-05/0.002651, allocations: 4 kB / 0.6192 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.002772, allocations: 128.8 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.002811, allocations: 14.58 kB / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.002827, allocations: 8.922 kB / 0.6193 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.002843, allocations: 3.984 kB / 0.6193 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.002861, allocations: 38.56 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.002863, allocations: 3.984 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000134/0.002997, allocations: 41.62 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.003034, allocations: 55.34 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.331e-05/0.003107, allocations: 109.8 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.00312, allocations: 29.83 kB / 0.6196 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.003152, allocations: 88.14 kB / 0.6197 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.003173, allocations: 7.891 kB / 0.6197 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.003356, allocations: 9.719 kB / 0.6197 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.003443, allocations: 322.8 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.003457, allocations: 7.938 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.003477, allocations: 17.7 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.003513, allocations: 21.66 kB / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.003515, allocations: 4 kB / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.71e-05/0.003572, allocations: 53.62 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.003585, allocations: 4 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.003589, allocations: 0 / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.003602, allocations: 0 / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.003668, allocations: 8.188 kB / 0.6201 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.003674, allocations: 3.984 kB / 0.6201 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.003688, allocations: 8 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.003693, allocations: 0 / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 6.111e-05/0.003754, allocations: 110.8 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-06/0.003759, allocations: 8.062 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.453e-05/0.003843, allocations: 53.09 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.003845, allocations: 0 / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.00385, allocations: 3.938 kB / 0.6203 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.003853, allocations: 0 / 0.6203 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.919e-05/0.003922, allocations: 124.8 kB / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.003924, allocations: 3.984 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.003958, allocations: 3.938 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.00396, allocations: 4 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.003966, allocations: 0 / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.003966, allocations: 4.031 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.003968, allocations: 3.938 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.426e-05/0.004062, allocations: 85.09 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.004078, allocations: 0 / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.004088, allocations: 0 / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-06/0.004097, allocations: 4 kB / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.004111, allocations: 3.938 kB / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.004113, allocations: 0 / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.004146, allocations: 91.27 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004146, allocations: 0 / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001132/0.004259, allocations: 4.094 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0002286/0.004488, allocations: 0.6155 MB / 0.6212 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.715e-05/0.004555, allocations: 15.98 kB / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.004556, allocations: 0 / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.406e-06/0.004565, allocations: 7.938 kB / 0.6212 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.00467, allocations: 7.938 kB / 0.6212 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.005299, allocations: 1.155 MB / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.005337, allocations: 63.34 kB / 0.6224 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.547e-05/0.005353, allocations: 4 kB / 0.6224 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.005386, allocations: 8.5 kB / 0.6224 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.005387, allocations: 0 / 0.6224 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.01941, allocations: 1.843 MB / 0.6242 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/6.766, allocations: 4.938 kB / 0.6242 GB, free: 7.113 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.37472528964281] Failed to read output from testmodel.py, exit status != 0: 6.844791330397129 6.85457118 6.850856026 Calling exit ...