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.0007708/0.0007708, 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.0007783/0.0007783, 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.8756/0.8756, 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.6949/0.6949, 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.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.763e-06/1.763e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.941e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001938/0.001957, allocations: 1.586 MB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.003213, allocations: 0.9348 MB / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.454e-05/0.003298, allocations: 0 / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.003332, allocations: 11.92 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.003564, allocations: 27.72 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.003895, allocations: 155.5 kB / 0.6208 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.004036, allocations: 87.58 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.001e-05/0.004126, allocations: 19.86 kB / 0.6209 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.004252, allocations: 47.89 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.00432, allocations: 27.91 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.004335, allocations: 8 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.004612, allocations: 271.6 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.004629, allocations: 11.98 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.004657, allocations: 19.92 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.004865, allocations: 187.5 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004867, allocations: 0 / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004867, allocations: 0 / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.004872, allocations: 3.938 kB / 0.6214 GB, free: 10.27 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.0004136/0.005285, allocations: 337.7 kB / 0.6217 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.005323, allocations: 12.03 kB / 0.6217 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.00535, allocations: 30.75 kB / 0.6218 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.005508, allocations: 36.81 kB / 0.6218 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.005685, allocations: 131.7 kB / 0.6219 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.005695, allocations: 8.312 kB / 0.6219 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.005706, allocations: 4.375 kB / 0.6219 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.00584, allocations: 66.2 kB / 0.622 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.005846, allocations: 4.188 kB / 0.622 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005856, allocations: 4.125 kB / 0.622 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.00586, allocations: 0 / 0.622 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.005951, allocations: 47.89 kB / 0.6221 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.006266, allocations: 255.9 kB / 0.6223 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.496e-05/0.006361, allocations: 54.48 kB / 0.6224 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.006407, allocations: 36.97 kB / 0.6224 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.006423, allocations: 0 / 0.6224 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.006441, allocations: 30.56 kB / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.006442, allocations: 0 / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0002311/0.006673, allocations: 113.5 kB / 0.6225 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.0067, allocations: 51.41 kB / 0.6226 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.616e-05/0.006776, allocations: 134.2 kB / 0.6227 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.006785, allocations: 29.64 kB / 0.6227 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.006829, allocations: 100.1 kB / 0.6228 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.006845, allocations: 23.78 kB / 0.6229 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.006874, allocations: 17.72 kB / 0.6229 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.006955, allocations: 322.8 kB / 0.6232 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.006998, allocations: 19.98 kB / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/0.007035, allocations: 19.98 kB / 0.6232 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.006e-05/0.007125, allocations: 60.77 kB / 0.6233 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007127, allocations: 0 / 0.6233 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001219/0.007249, allocations: 97.98 kB / 0.6234 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.007262, allocations: 8 kB / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007266, allocations: 0 / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.007276, allocations: 0 / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.007344, allocations: 15.98 kB / 0.6234 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.007349, allocations: 4 kB / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.007375, allocations: 4 kB / 0.6234 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.00738, allocations: 0 / 0.6234 GB, free: 8.031 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.589e-05/0.007436, allocations: 118.8 kB / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.007459, allocations: 19.88 kB / 0.6235 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.00761, allocations: 94.12 kB / 0.6236 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.007613, allocations: 7.938 kB / 0.6236 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.007616, allocations: 0 / 0.6236 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.00762, allocations: 3.984 kB / 0.6236 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.007738, allocations: 152.7 kB / 0.6238 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.007739, allocations: 4 kB / 0.6238 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.007774, allocations: 11.98 kB / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007775, allocations: 4 kB / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.007783, allocations: 4 kB / 0.6238 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.007785, allocations: 3.984 kB / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007786, allocations: 0 / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.007931, allocations: 187.4 kB / 0.624 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.007939, allocations: 7.953 kB / 0.624 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.007951, allocations: 3.984 kB / 0.624 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.95e-05/0.00799, allocations: 4 kB / 0.624 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.008022, allocations: 7.984 kB / 0.624 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.008026, allocations: 8 kB / 0.624 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.008067, allocations: 103.2 kB / 0.6241 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008067, allocations: 0 / 0.6241 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001625/0.00823, allocations: 23.94 kB / 0.6241 GB, free: 7.207 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.0003543/0.008584, allocations: 0.7463 MB / 0.6249 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.00871, allocations: 51.97 kB / 0.6249 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.008711, allocations: 0 / 0.6249 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.008755, allocations: 39.84 kB / 0.625 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.008953, allocations: 10.03 kB / 0.625 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.009958, allocations: 1.464 MB / 0.6264 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.484e-05/0.01, allocations: 75.33 kB / 0.6265 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.01004, allocations: 7.984 kB / 0.6265 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.01008, allocations: 20.5 kB / 0.6265 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.01008, allocations: 3.938 kB / 0.6265 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.02603, allocations: 3.062 MB / 0.6295 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.178, allocations: 4.609 kB / 0.6295 GB, free: 1.758 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 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.908038767986] Failed to read output from testmodel.py, exit status != 0: 7.255385496653616 7.263890379 7.257381453 Calling exit ...