Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.EulerCurve.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.0008169/0.0008169, 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.0008046/0.0008046, 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.8741/0.8741, allocations: 177.2 MB / 202.8 MB, free: 5.762 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.7108/0.7108, allocations: 154.7 MB / 413.9 MB, free: 0.7578 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.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_EulerCurve",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.000904/0.000904, allocations: 63.91 kB / 0.6183 GB, free: 13.62 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4839, allocations: 102 MB / 0.7179 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001346/0.4852, allocations: 0.5387 MB / 0.7184 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008698/0.4861, allocations: 0.6049 MB / 0.719 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.4861, allocations: 4.969 kB / 0.719 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.4861, allocations: 0 / 0.719 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.617e-06/0.4861, allocations: 0 / 0.719 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.4868, allocations: 170 kB / 0.7192 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.121e-05/0.4868, allocations: 4.125 kB / 0.7192 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.4869, allocations: 2.266 kB / 0.7192 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.4869, allocations: 7.641 kB / 0.7192 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2.372e-05/0.4869, allocations: 2.453 kB / 0.7192 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.4869, allocations: 0 / 0.7192 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.4872, allocations: 210.9 kB / 0.7194 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.4872, allocations: 1.719 kB / 0.7194 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.4873, allocations: 1.062 kB / 0.7194 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.4875, allocations: 155 kB / 0.7195 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4875, allocations: 0.9062 kB / 0.7195 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4875, allocations: 0 / 0.7195 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4875, allocations: 0 / 0.7195 GB, free: 22.43 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.0002918/0.4878, allocations: 282.8 kB / 0.7198 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4879, allocations: 9.594 kB / 0.7198 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.254e-05/0.4879, allocations: 33.11 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.4879, allocations: 4.938 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4e-05/0.4879, allocations: 108.7 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.488, allocations: 1.594 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.488, allocations: 5.406 kB / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.737e-05/0.4881, allocations: 33.78 kB / 0.72 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4881, allocations: 7.875 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.4881, allocations: 0.6094 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4881, allocations: 0.9688 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.464e-05/0.4881, allocations: 10.59 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.4883, allocations: 125 kB / 0.7201 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/0.4884, allocations: 33.53 kB / 0.7202 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.4884, allocations: 12.67 kB / 0.7202 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004256/0.4889, allocations: 89.73 kB / 0.7203 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.4889, allocations: 36.78 kB / 0.7203 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.4889, allocations: 0 / 0.7203 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000143/0.489, allocations: 49.52 kB / 0.7203 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.489, allocations: 51.97 kB / 0.7204 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.413e-05/0.4891, allocations: 91.33 kB / 0.7205 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.4891, allocations: 25.7 kB / 0.7205 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.059e-05/0.4891, allocations: 80.75 kB / 0.7206 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.4891, allocations: 9.938 kB / 0.7206 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.4891, allocations: 27.08 kB / 0.7206 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.109e-05/0.4892, allocations: 313.6 kB / 0.7209 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.4892, allocations: 7.516 kB / 0.7209 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.4892, allocations: 23.41 kB / 0.7209 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.4892, allocations: 24.02 kB / 0.721 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4892, allocations: 0 / 0.721 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.839e-05/0.4893, allocations: 50.88 kB / 0.721 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4893, allocations: 4.672 kB / 0.721 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4893, allocations: 5.25 kB / 0.721 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4893, allocations: 0 / 0.721 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.944e-05/0.4894, allocations: 7.562 kB / 0.721 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.4894, allocations: 1 kB / 0.721 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.093e-05/0.4894, allocations: 17.16 kB / 0.721 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.4894, allocations: 1.578 kB / 0.721 GB, free: 20.91 MB / 0.6355 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 (4): * Single equations (assignments): 4 * 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 3.903e-05/0.4894, allocations: 109.6 kB / 0.7212 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-06/0.4894, allocations: 1.125 kB / 0.7212 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257e-05/0.4895, allocations: 55.64 kB / 0.7212 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4895, allocations: 1.562 kB / 0.7212 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4895, allocations: 0.8438 kB / 0.7212 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4895, allocations: 0 / 0.7212 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.123e-05/0.4896, allocations: 124.2 kB / 0.7213 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4896, allocations: 4.5 kB / 0.7213 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.4896, allocations: 9.297 kB / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4896, allocations: 1.156 kB / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.4896, allocations: 3.938 kB / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4896, allocations: 1.688 kB / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4896, allocations: 0 / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.623e-05/0.4897, allocations: 81.48 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.4897, allocations: 2.484 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.4897, allocations: 6.344 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-06/0.4897, allocations: 0 / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.4898, allocations: 1.219 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.4898, allocations: 2.516 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.163e-05/0.4898, allocations: 79.34 kB / 0.7215 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4898, allocations: 0 / 0.7215 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001825/0.4899, allocations: 54.36 kB / 0.7216 GB, free: 20.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (3): * Single equations (assignments): 3 * 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.0003802/0.4903, allocations: 0.6831 MB / 0.7222 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.827e-05/0.4904, allocations: 15.95 kB / 0.7222 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4904, allocations: 0 / 0.7222 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.296e-06/0.4904, allocations: 6.516 kB / 0.7223 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.4905, allocations: 5.953 kB / 0.7223 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.4911, allocations: 1.118 MB / 0.7233 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.4911, allocations: 62.28 kB / 0.7234 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.564e-05/0.4911, allocations: 1.859 kB / 0.7234 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.4911, allocations: 10.28 kB / 0.7234 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4911, allocations: 1.125 kB / 0.7234 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.5104, allocations: 2.796 MB / 0.7262 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.527/7.037, allocations: 8.125 kB / 0.7262 GB, free: 17.61 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.757558363024145] Failed to read output from testmodel.py, exit status != 0: 7.113472815020941 7.12366533 6.634137832 Calling exit ...