Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.001168/0.001168, 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.0008542/0.0008542, allocations: 165.9 kB / 22.45 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.8503/0.8503, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.695/0.695, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.651e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4131/0.4132, allocations: 142.2 MB / 0.7569 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003062/0.4162, allocations: 4.171 MB / 0.761 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.4164, allocations: 17.88 kB / 0.761 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.4168, allocations: 135 kB / 0.7611 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006852/0.4175, allocations: 348.8 kB / 0.7615 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.4181, allocations: 334.9 kB / 0.7618 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.4187, allocations: 0.5614 MB / 0.7623 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.4189, allocations: 153.3 kB / 0.7625 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.4201, allocations: 0.7419 MB / 0.7632 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.4203, allocations: 174.3 kB / 0.7634 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.4203, allocations: 17.38 kB / 0.7634 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.4204, allocations: 85.55 kB / 0.7635 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.302e-05/0.4205, allocations: 90.56 kB / 0.7636 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.4206, allocations: 78.22 kB / 0.7636 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005133/0.4211, allocations: 314.2 kB / 0.7639 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4211, allocations: 2.078 kB / 0.7639 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4211, allocations: 0 / 0.7639 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.4211, allocations: 0 / 0.7639 GB, free: 7.809 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009806/0.4221, allocations: 470.7 kB / 0.7644 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/0.4222, allocations: 12.42 kB / 0.7644 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.4222, allocations: 56.09 kB / 0.7644 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.881e-05/0.4223, allocations: 33.48 kB / 0.7645 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.4227, allocations: 235.4 kB / 0.7647 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.4227, allocations: 15.66 kB / 0.7647 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.4228, allocations: 20.53 kB / 0.7647 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.4232, allocations: 263.3 kB / 0.765 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4232, allocations: 0 / 0.765 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.4232, allocations: 11.12 kB / 0.765 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.4232, allocations: 8.422 kB / 0.765 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.4235, allocations: 151.3 kB / 0.7652 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008972/0.4244, allocations: 1.294 MB / 0.7664 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.4246, allocations: 177.3 kB / 0.7666 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.4247, allocations: 90.3 kB / 0.7667 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.4249, allocations: 46.98 kB / 0.7667 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.4249, allocations: 39.34 kB / 0.7668 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.4249, allocations: 1.094 kB / 0.7668 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004251/0.4253, allocations: 208.6 kB / 0.767 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.4254, allocations: 187.1 kB / 0.7671 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.4256, allocations: 297.7 kB / 0.7674 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.4256, allocations: 27.2 kB / 0.7674 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.4257, allocations: 148.5 kB / 0.7676 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.4257, allocations: 39.91 kB / 0.7676 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.4258, allocations: 34.34 kB / 0.7677 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.4258, allocations: 333 kB / 0.768 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.4259, allocations: 48.47 kB / 0.768 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.426, allocations: 219.3 kB / 0.7682 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.4262, allocations: 163 kB / 0.7684 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4262, allocations: 5.438 kB / 0.7684 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002418/0.4265, allocations: 196.3 kB / 0.7686 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4265, allocations: 7.016 kB / 0.7686 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4265, allocations: 2.25 kB / 0.7686 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4265, allocations: 5.969 kB / 0.7686 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.4266, allocations: 33.67 kB / 0.7686 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4266, allocations: 2.578 kB / 0.7686 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.4267, allocations: 23.39 kB / 0.7686 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.4267, allocations: 14.45 kB / 0.7687 GB, free: 4.027 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 7.811e-05/0.4268, allocations: 140.3 kB / 0.7688 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.4269, allocations: 29.64 kB / 0.7688 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.4271, allocations: 132.2 kB / 0.7689 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4271, allocations: 5.219 kB / 0.769 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4271, allocations: 2.625 kB / 0.769 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4271, allocations: 5.781 kB / 0.769 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.4276, allocations: 0.731 MB / 0.7697 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4276, allocations: 1.344 kB / 0.7697 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.008e-05/0.4277, allocations: 27.44 kB / 0.7697 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4277, allocations: 2.25 kB / 0.7697 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.4277, allocations: 2.875 kB / 0.7697 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.4277, allocations: 3.125 kB / 0.7697 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4277, allocations: 1.406 kB / 0.7697 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.428, allocations: 346.2 kB / 0.77 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.4281, allocations: 31.48 kB / 0.7701 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.4281, allocations: 6.812 kB / 0.7701 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.4282, allocations: 11.75 kB / 0.7701 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.4282, allocations: 17.33 kB / 0.7701 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.4282, allocations: 4.344 kB / 0.7701 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001479/0.4284, allocations: 210.1 kB / 0.7703 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4284, allocations: 1.5 kB / 0.7703 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000258/0.4286, allocations: 57.53 kB / 0.7704 GB, free: 2.738 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.000508/0.4291, allocations: 0.8957 MB / 0.7712 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.4294, allocations: 117.8 kB / 0.7714 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4294, allocations: 4.125 kB / 0.7714 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/0.4294, allocations: 58.25 kB / 0.7714 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.4299, allocations: 127.6 kB / 0.7715 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.4323, allocations: 2.586 MB / 0.7741 GB, free: 76 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.4324, allocations: 144.1 kB / 0.7742 GB, free: 16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001324/0.4325, allocations: 54.64 kB / 0.7742 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.955e-05/0.4326, allocations: 69.3 kB / 0.7743 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/0.4326, allocations: 0 / 0.7743 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.455, allocations: 7.959 MB / 0.7821 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/8.051, allocations: 1.219 kB / 0.7821 GB, free: 14.55 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.69660540111363] Failed to read output from testmodel.py, exit status != 0: 8.135125585831702 8.144086343 7.721044365 Calling exit ...