Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.000801/0.000801, 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.0009097/0.0009097, allocations: 170.3 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.8548/0.8548, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7242/0.7242, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.534e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001855/0.001871, allocations: 1.587 MB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.003003, allocations: 0.9309 MB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.003071, allocations: 0 / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.003103, allocations: 3.938 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.003308, allocations: 27.72 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.003644, allocations: 163.4 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.00378, allocations: 79.64 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.003875, allocations: 19.92 kB / 0.6209 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.004009, allocations: 51.83 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.004083, allocations: 27.91 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.0041, allocations: 4 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.004373, allocations: 271.6 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.00439, allocations: 19.91 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.004417, allocations: 12 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.004647, allocations: 199.3 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004649, allocations: 0 / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.142e-06/0.00465, allocations: 0 / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004655, allocations: 3.938 kB / 0.6214 GB, free: 10.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004292/0.005084, allocations: 333.7 kB / 0.6217 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.005127, allocations: 8.031 kB / 0.6218 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.00516, allocations: 38.73 kB / 0.6218 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.005317, allocations: 32.88 kB / 0.6218 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.005629, allocations: 129.7 kB / 0.6219 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.005638, allocations: 4.375 kB / 0.6219 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.005648, allocations: 384 / 0.6219 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.005778, allocations: 62.23 kB / 0.622 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005785, allocations: 4.172 kB / 0.622 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.005795, allocations: 8.125 kB / 0.622 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.005799, allocations: 0 / 0.622 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.005888, allocations: 43.91 kB / 0.6221 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.006211, allocations: 263.9 kB / 0.6223 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.39e-05/0.006305, allocations: 54.5 kB / 0.6224 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.006351, allocations: 24.97 kB / 0.6224 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.006366, allocations: 8 kB / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.006384, allocations: 34.55 kB / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.006385, allocations: 0 / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0002477/0.006633, allocations: 105.5 kB / 0.6225 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.006663, allocations: 59.41 kB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.006742, allocations: 127.4 kB / 0.6227 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.006753, allocations: 37.64 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.006795, allocations: 96.12 kB / 0.6228 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.006808, allocations: 19.86 kB / 0.6229 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.006839, allocations: 21.7 kB / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.006914, allocations: 318.8 kB / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-05/0.006959, allocations: 23.97 kB / 0.6232 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.007, allocations: 27.92 kB / 0.6232 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/0.007085, allocations: 56.77 kB / 0.6233 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007087, allocations: 0 / 0.6233 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001264/0.007213, allocations: 93.94 kB / 0.6234 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.007225, allocations: 4 kB / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.00723, allocations: 8.062 kB / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.007242, allocations: 0 / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.007312, allocations: 11.98 kB / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.007319, allocations: 4 kB / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.007347, allocations: 11.92 kB / 0.6234 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.007354, allocations: 4 kB / 0.6234 GB, free: 7.996 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 (6): * Single equations (assignments): 6 * 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.706e-05/0.007411, allocations: 118.8 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.007436, allocations: 15.89 kB / 0.6235 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.007586, allocations: 94.11 kB / 0.6236 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.007589, allocations: 0 / 0.6236 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.007592, allocations: 4 kB / 0.6236 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.007595, allocations: 0 / 0.6236 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.007707, allocations: 148.7 kB / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007708, allocations: 0 / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.007746, allocations: 15.98 kB / 0.6238 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.007749, allocations: 3.984 kB / 0.6238 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.007755, allocations: 4 kB / 0.6238 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.007757, allocations: 4 kB / 0.6238 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007758, allocations: 0 / 0.6238 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.007904, allocations: 195.3 kB / 0.624 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.007913, allocations: 7.953 kB / 0.624 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.007924, allocations: 0 / 0.624 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.007965, allocations: 7.984 kB / 0.624 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.008001, allocations: 8 kB / 0.624 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.008004, allocations: 128 / 0.624 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.008044, allocations: 113.5 kB / 0.6241 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008044, allocations: 0 / 0.6241 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001621/0.008206, allocations: 19.94 kB / 0.6241 GB, free: 7.18 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 (6): * Single equations (assignments): 6 * 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.0003672/0.008574, allocations: 0.7397 MB / 0.6249 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.008706, allocations: 55.95 kB / 0.6249 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008708, allocations: 3.938 kB / 0.6249 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.00875, allocations: 35.86 kB / 0.625 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.008957, allocations: 14.02 kB / 0.625 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.009964, allocations: 1.463 MB / 0.6264 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.842e-05/0.01001, allocations: 79.33 kB / 0.6265 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.01005, allocations: 4 kB / 0.6265 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.01009, allocations: 28.48 kB / 0.6265 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.01009, allocations: 3.938 kB / 0.6265 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.02588, allocations: 3.061 MB / 0.6295 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.804/6.83, allocations: 4.547 kB / 0.6295 GB, free: 1.723 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.448764318600297] Failed to read output from testmodel.py, exit status != 0: 6.911086055450141 6.92158271 6.915331458 Calling exit ...