Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.00117/0.00117, 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.001367/0.001367, allocations: 169.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.8985/0.8985, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.7397/0.7397, allocations: 154.5 MB / 413.7 MB, free: 0.8359 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.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.942e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4552/0.4552, allocations: 158.4 MB / 0.7728 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006551/0.4617, allocations: 7.182 MB / 0.7798 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.4621, allocations: 27.78 kB / 0.7798 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.4628, allocations: 254.9 kB / 0.7801 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.4652, allocations: 1.249 MB / 0.7813 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.4668, allocations: 0.8184 MB / 0.7821 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0008606/0.4677, allocations: 1.077 MB / 0.7831 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.4681, allocations: 326.3 kB / 0.7834 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.4701, allocations: 1.166 MB / 0.7846 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004467/0.4706, allocations: 375.8 kB / 0.7849 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.4707, allocations: 40.69 kB / 0.785 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.4719, allocations: 0.8056 MB / 0.7858 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.472, allocations: 168.3 kB / 0.7859 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.4722, allocations: 167.6 kB / 0.7861 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.4732, allocations: 0.9604 MB / 0.787 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4732, allocations: 0 / 0.787 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4732, allocations: 0 / 0.787 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.954e-06/0.4732, allocations: 1 kB / 0.787 GB, free: 8.969 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009942/0.4742, allocations: 0.7335 MB / 0.7877 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.4743, allocations: 11.34 kB / 0.7877 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.1e-05/0.4744, allocations: 76.41 kB / 0.7878 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005404/0.4749, allocations: 161.3 kB / 0.788 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.4753, allocations: 335.3 kB / 0.7883 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.4753, allocations: 30.94 kB / 0.7883 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.4754, allocations: 44.14 kB / 0.7884 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.4759, allocations: 451.8 kB / 0.7888 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4759, allocations: 1.312 kB / 0.7888 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.4759, allocations: 19.12 kB / 0.7888 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4759, allocations: 8.875 kB / 0.7888 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.4763, allocations: 325.1 kB / 0.7891 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.4776, allocations: 1.486 MB / 0.7906 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.4779, allocations: 222.7 kB / 0.7908 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.4781, allocations: 137.1 kB / 0.7909 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.4783, allocations: 78.23 kB / 0.791 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.4783, allocations: 37 kB / 0.791 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.4784, allocations: 0 / 0.791 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.0006702/0.479, allocations: 454.5 kB / 0.7915 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.4791, allocations: 54.16 kB / 0.7915 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.4794, allocations: 402.4 kB / 0.7919 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.4794, allocations: 36.36 kB / 0.7919 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.4795, allocations: 229.5 kB / 0.7922 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.4796, allocations: 86.02 kB / 0.7922 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.4797, allocations: 53.22 kB / 0.7923 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4798, allocations: 354.1 kB / 0.7926 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.4799, allocations: 114.2 kB / 0.7927 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.4801, allocations: 267.7 kB / 0.793 GB, free: 5.148 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.4804, allocations: 307 kB / 0.7933 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4804, allocations: 0 / 0.7933 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003729/0.4808, allocations: 377.5 kB / 0.7936 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4808, allocations: 5.281 kB / 0.7936 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4808, allocations: 2.5 kB / 0.7937 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4808, allocations: 3 kB / 0.7937 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.481, allocations: 57.53 kB / 0.7937 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.481, allocations: 4.453 kB / 0.7937 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.4811, allocations: 37.31 kB / 0.7937 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.4811, allocations: 21.52 kB / 0.7938 GB, free: 4.793 MB / 0.6511 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 (31): * Single equations (assignments): 31 * 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.0001208/0.4812, allocations: 172.2 kB / 0.7939 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.4813, allocations: 43.23 kB / 0.794 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/0.4817, allocations: 369.3 kB / 0.7943 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4817, allocations: 6.516 kB / 0.7943 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4817, allocations: 2.906 kB / 0.7943 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4817, allocations: 1.875 kB / 0.7943 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008643/0.4826, allocations: 0.8842 MB / 0.7952 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4826, allocations: 2.656 kB / 0.7952 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.4827, allocations: 42.19 kB / 0.7952 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4827, allocations: 6.938 kB / 0.7953 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.4827, allocations: 9.219 kB / 0.7953 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4827, allocations: 3.031 kB / 0.7953 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4827, allocations: 6.219 kB / 0.7953 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.4833, allocations: 0.6284 MB / 0.7959 GB, free: 3.566 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.4834, allocations: 69.31 kB / 0.7959 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.4834, allocations: 8.656 kB / 0.796 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4835, allocations: 15.66 kB / 0.796 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.4836, allocations: 21.97 kB / 0.796 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.4836, allocations: 8.938 kB / 0.796 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001886/0.4838, allocations: 285.3 kB / 0.7963 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4838, allocations: 0 / 0.7963 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002958/0.484, allocations: 114.8 kB / 0.7964 GB, free: 3.352 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.0009231/0.485, allocations: 1.215 MB / 0.7976 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.4853, allocations: 276 kB / 0.7978 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4853, allocations: 3 kB / 0.7978 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.4855, allocations: 146.1 kB / 0.798 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.4861, allocations: 227.8 kB / 0.7982 GB, free: 2.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.4897, allocations: 3.777 MB / 0.8019 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.4898, allocations: 223.1 kB / 0.8021 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002163/0.49, allocations: 105.1 kB / 0.8022 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.4902, allocations: 135.9 kB / 0.8023 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/0.4902, allocations: 0 / 0.8023 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.5179, allocations: 13.18 MB / 0.8152 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.231/7.749, allocations: 9.469 kB / 0.8152 GB, free: 9.32 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_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_MoistAirEnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.61174495704472] Failed to read output from testmodel.py, exit status != 0: 7.83531950879842 7.846251702 7.370688747 Calling exit ...