Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001136/0.001136, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001434/0.001434, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9383/0.9383, 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.7447/0.7447, allocations: 154.5 MB / 413.7 MB, free: 0.8398 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.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.309e-05, allocations: 4.672 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4621/0.4621, allocations: 147.7 MB / 0.7623 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00617/0.4683, allocations: 5.993 MB / 0.7682 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006304/0.4689, allocations: 16.84 kB / 0.7682 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005994/0.4695, allocations: 181.3 kB / 0.7684 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.4718, allocations: 0.8576 MB / 0.7692 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.4728, allocations: 400.9 kB / 0.7696 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009251/0.4737, allocations: 0.7063 MB / 0.7703 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.4741, allocations: 218.7 kB / 0.7705 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.4757, allocations: 0.8237 MB / 0.7713 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.4761, allocations: 236.5 kB / 0.7715 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.4762, allocations: 23.47 kB / 0.7716 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006131/0.4768, allocations: 292.6 kB / 0.7718 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.4769, allocations: 116.5 kB / 0.7719 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.477, allocations: 111.1 kB / 0.772 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.4778, allocations: 487.8 kB / 0.7725 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4778, allocations: 0 / 0.7725 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.073e-06/0.4778, allocations: 0 / 0.7725 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.4778, allocations: 5.062 kB / 0.7725 GB, free: 2.184 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007628/0.4785, allocations: 0.5424 MB / 0.773 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4786, allocations: 11.7 kB / 0.7731 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.4786, allocations: 65.42 kB / 0.7731 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.4789, allocations: 62.47 kB / 0.7732 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.4793, allocations: 270.2 kB / 0.7734 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4793, allocations: 20.02 kB / 0.7735 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.4794, allocations: 25.03 kB / 0.7735 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.4798, allocations: 317.6 kB / 0.7738 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4799, allocations: 5.375 kB / 0.7738 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.4799, allocations: 10.62 kB / 0.7738 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.4799, allocations: 6.438 kB / 0.7738 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.4802, allocations: 201.4 kB / 0.774 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.4815, allocations: 1.199 MB / 0.7752 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.4817, allocations: 112.7 kB / 0.7753 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.4818, allocations: 86.2 kB / 0.7754 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.4822, allocations: 70.88 kB / 0.7754 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.4822, allocations: 40.22 kB / 0.7755 GB, free: 128 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 2.725e-06/0.4822, allocations: 4 kB / 0.7755 GB, free: 124 kB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005455/0.4828, allocations: 271.5 kB / 0.7757 GB, free: 20 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.4828, allocations: 52.72 kB / 0.7758 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.4831, allocations: 309.3 kB / 0.7761 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.4832, allocations: 27.88 kB / 0.7761 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4833, allocations: 189.7 kB / 0.7763 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.4833, allocations: 48.7 kB / 0.7763 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.4834, allocations: 37.83 kB / 0.7764 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4835, allocations: 335.6 kB / 0.7767 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4836, allocations: 58.08 kB / 0.7767 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.4838, allocations: 196.6 kB / 0.7769 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.484, allocations: 179 kB / 0.7771 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.484, allocations: 1.094 kB / 0.7771 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003063/0.4844, allocations: 219.5 kB / 0.7773 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4844, allocations: 6.969 kB / 0.7773 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4844, allocations: 1.156 kB / 0.7773 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4844, allocations: 6.562 kB / 0.7773 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.4845, allocations: 42.72 kB / 0.7774 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.4845, allocations: 2.281 kB / 0.7774 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.4847, allocations: 28.88 kB / 0.7774 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.4847, allocations: 9.969 kB / 0.7774 GB, free: 14.81 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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 0.0001166/0.4848, allocations: 148 kB / 0.7775 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.4848, allocations: 28.91 kB / 0.7776 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.4852, allocations: 216.9 kB / 0.7778 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.4852, allocations: 1.734 kB / 0.7778 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4852, allocations: 1.281 kB / 0.7778 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4852, allocations: 0.6562 kB / 0.7778 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000785/0.486, allocations: 0.6346 MB / 0.7784 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.486, allocations: 7.219 kB / 0.7784 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.4861, allocations: 33.88 kB / 0.7784 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4861, allocations: 2.5 kB / 0.7784 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4861, allocations: 3.094 kB / 0.7784 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4861, allocations: 7.125 kB / 0.7784 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4861, allocations: 2.094 kB / 0.7785 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.4864, allocations: 337.7 kB / 0.7788 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.4865, allocations: 44.08 kB / 0.7788 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.4865, allocations: 8.031 kB / 0.7788 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.4866, allocations: 8.281 kB / 0.7788 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.4866, allocations: 19.16 kB / 0.7788 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.4866, allocations: 8.594 kB / 0.7789 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001921/0.4868, allocations: 223.7 kB / 0.7791 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4868, allocations: 1.125 kB / 0.7791 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003493/0.4872, allocations: 76.12 kB / 0.7791 GB, free: 13.68 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0006839/0.4879, allocations: 0.9093 MB / 0.78 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.4881, allocations: 156.3 kB / 0.7802 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4881, allocations: 0 / 0.7802 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.4882, allocations: 84.03 kB / 0.7803 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.4888, allocations: 149.5 kB / 0.7804 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.4915, allocations: 2.796 MB / 0.7831 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.4916, allocations: 177.2 kB / 0.7833 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002081/0.4918, allocations: 63.55 kB / 0.7834 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.492, allocations: 91.81 kB / 0.7835 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.382e-06/0.492, allocations: 0 / 0.7835 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.5213, allocations: 9.309 MB / 0.7925 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.759/7.28, allocations: 4 kB / 0.7925 GB, free: 8.605 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_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_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.161777327768505] Failed to read output from testmodel.py, exit status != 0: 7.3664012076333165 7.376152548 6.896551262 Calling exit ...