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.000781/0.000781, allocations: 76.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.0008691/0.0008691, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8878/0.8878, 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.7106/0.7106, 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.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.502e-06/1.502e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.459e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4386/0.4386, allocations: 158.4 MB / 0.7728 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006314/0.445, allocations: 7.192 MB / 0.7798 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.4453, allocations: 28.97 kB / 0.7798 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.4458, allocations: 246.7 kB / 0.78 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.4478, allocations: 1.253 MB / 0.7813 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.4489, allocations: 0.8195 MB / 0.7821 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.000838/0.4497, allocations: 1.066 MB / 0.7831 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.4501, allocations: 327.4 kB / 0.7834 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.4517, allocations: 1.172 MB / 0.7846 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.452, allocations: 381.6 kB / 0.7849 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.4521, allocations: 41.41 kB / 0.785 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007506/0.4528, allocations: 0.7979 MB / 0.7858 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.4529, allocations: 172 kB / 0.7859 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.4531, allocations: 170.5 kB / 0.7861 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0008427/0.4539, allocations: 0.9568 MB / 0.787 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4539, allocations: 0 / 0.787 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4539, allocations: 0 / 0.787 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4539, allocations: 3.938 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.0007556/0.4547, allocations: 0.7358 MB / 0.7877 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.4547, allocations: 10.28 kB / 0.7877 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.803e-05/0.4548, allocations: 74.92 kB / 0.7878 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000518/0.4553, allocations: 158.1 kB / 0.788 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.4557, allocations: 338.6 kB / 0.7883 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.4557, allocations: 29.22 kB / 0.7883 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.4558, allocations: 41.02 kB / 0.7884 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.4563, allocations: 447.1 kB / 0.7888 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4563, allocations: 1.344 kB / 0.7888 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.4563, allocations: 10.75 kB / 0.7888 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.4563, allocations: 14.5 kB / 0.7888 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.4567, allocations: 324.2 kB / 0.7891 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.4579, allocations: 1.492 MB / 0.7906 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.4581, allocations: 225.5 kB / 0.7908 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.4583, allocations: 140.4 kB / 0.7909 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/0.4585, allocations: 79.28 kB / 0.791 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.4586, allocations: 33.31 kB / 0.791 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 1.203e-06/0.4586, allocations: 0 / 0.791 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.0006144/0.4592, allocations: 448.2 kB / 0.7915 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.4592, allocations: 61.91 kB / 0.7915 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.4595, allocations: 403 kB / 0.7919 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.4595, allocations: 31.45 kB / 0.7919 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4596, allocations: 237.9 kB / 0.7922 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.4597, allocations: 85.48 kB / 0.7922 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.17e-05/0.4597, allocations: 53.27 kB / 0.7923 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.4598, allocations: 350.9 kB / 0.7926 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4599, allocations: 115.1 kB / 0.7927 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.4601, allocations: 262.7 kB / 0.793 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.4604, allocations: 309.3 kB / 0.7933 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4604, allocations: 0 / 0.7933 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000369/0.4608, allocations: 376.9 kB / 0.7936 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4608, allocations: 5.562 kB / 0.7936 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4608, allocations: 2.688 kB / 0.7937 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.4608, allocations: 2.5 kB / 0.7937 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.4609, allocations: 59.86 kB / 0.7937 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4609, allocations: 6.312 kB / 0.7937 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.4611, allocations: 37.19 kB / 0.7938 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.4611, allocations: 14 kB / 0.7938 GB, free: 4.801 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.0001177/0.4612, allocations: 169.2 kB / 0.7939 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.4612, allocations: 43.2 kB / 0.794 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.4616, allocations: 375.9 kB / 0.7943 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.4616, allocations: 2.531 kB / 0.7943 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4616, allocations: 0 / 0.7943 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.4616, allocations: 1.969 kB / 0.7943 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007884/0.4624, allocations: 0.8799 MB / 0.7952 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4624, allocations: 2.531 kB / 0.7952 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.4625, allocations: 46.5 kB / 0.7952 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.4625, allocations: 8.906 kB / 0.7952 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4626, allocations: 2.5 kB / 0.7952 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.4626, allocations: 6.344 kB / 0.7953 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4626, allocations: 9.969 kB / 0.7953 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.4631, allocations: 0.6355 MB / 0.7959 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.887e-05/0.4632, allocations: 67.64 kB / 0.7959 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.4632, allocations: 10.94 kB / 0.796 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4633, allocations: 15.36 kB / 0.796 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.4634, allocations: 19.42 kB / 0.796 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4634, allocations: 15.25 kB / 0.796 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001642/0.4635, allocations: 277.6 kB / 0.7963 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4635, allocations: 4 kB / 0.7963 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002657/0.4638, allocations: 114.7 kB / 0.7964 GB, free: 3.355 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.0008483/0.4647, allocations: 1.214 MB / 0.7976 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003479/0.465, allocations: 281.8 kB / 0.7978 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.465, allocations: 2.812 kB / 0.7978 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.4652, allocations: 141.5 kB / 0.798 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.4657, allocations: 224.6 kB / 0.7982 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.4688, 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.0001406/0.469, allocations: 227 kB / 0.8021 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.4691, allocations: 105.3 kB / 0.8022 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.4693, allocations: 135.2 kB / 0.8023 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of SimCode: time 5.92e-07/0.4693, allocations: 0 / 0.8023 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.4925, allocations: 13.17 MB / 0.8152 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/7.442, allocations: 6.688 kB / 0.8152 GB, free: 9.332 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.135342197492719] Failed to read output from testmodel.py, exit status != 0: 7.530637104995549 7.541109984 7.084879865 Calling exit ...