Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8278/0.8278, allocations: 133.9 MB / 436.6 MB, free: 13.74 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 68.08 kB / 0.6051 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3838, allocations: 84.68 MB / 0.6878 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1953/0.5791, allocations: 168.1 MB / 0.8519 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008119/0.5872, allocations: 6.575 MB / 0.8584 GB, free: 7.332 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.5876, allocations: 15.94 kB / 0.8584 GB, free: 7.316 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.5881, allocations: 178.7 kB / 0.8585 GB, free: 7.141 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.5903, allocations: 0.8752 MB / 0.8594 GB, free: 6.262 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/0.5912, allocations: 333.1 kB / 0.8597 GB, free: 5.941 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000869/0.5921, allocations: 0.7135 MB / 0.8604 GB, free: 5.227 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004059/0.5925, allocations: 234.8 kB / 0.8606 GB, free: 4.996 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.5937, allocations: 0.5643 MB / 0.8612 GB, free: 4.43 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.5941, allocations: 290.9 kB / 0.8615 GB, free: 4.145 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.5941, allocations: 20 kB / 0.8615 GB, free: 4.125 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006458/0.5947, allocations: 363.1 kB / 0.8618 GB, free: 3.77 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.5949, allocations: 115.6 kB / 0.8619 GB, free: 3.656 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.595, allocations: 159.1 kB / 0.8621 GB, free: 3.5 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.5957, allocations: 478 kB / 0.8626 GB, free: 3.035 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5957, allocations: 0 / 0.8626 GB, free: 3.035 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.476e-06/0.5957, allocations: 4 kB / 0.8626 GB, free: 3.031 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.5957, allocations: 3.938 kB / 0.8626 GB, free: 3.027 MB / 0.67 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.0008641/0.5966, allocations: 0.6345 MB / 0.8632 GB, free: 2.34 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5966, allocations: 12.03 kB / 0.8632 GB, free: 2.328 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.544e-05/0.5967, allocations: 62.53 kB / 0.8633 GB, free: 2.258 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.597, allocations: 67.67 kB / 0.8633 GB, free: 2.191 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.5975, allocations: 317.5 kB / 0.8636 GB, free: 1.84 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.5975, allocations: 20.56 kB / 0.8636 GB, free: 1.82 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.5976, allocations: 24 kB / 0.8637 GB, free: 1.797 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.5981, allocations: 323.7 kB / 0.864 GB, free: 1.453 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5981, allocations: 3.938 kB / 0.864 GB, free: 1.449 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.5981, allocations: 15.94 kB / 0.864 GB, free: 1.434 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.5981, allocations: 4 kB / 0.864 GB, free: 1.43 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.5985, allocations: 201.5 kB / 0.8642 GB, free: 1.234 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3233/0.9218, allocations: 1.537 MB / 0.8657 GB, free: 175 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.9221, allocations: 107.5 kB / 0.8658 GB, free: 175 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.9223, allocations: 84.92 kB / 0.8659 GB, free: 175 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005614/0.9228, allocations: 304.2 kB / 0.8662 GB, free: 174.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.9229, allocations: 36.91 kB / 0.8662 GB, free: 174.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.9229, allocations: 0 / 0.8662 GB, free: 174.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0007848/0.9237, allocations: 276 kB / 0.8665 GB, free: 174.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.9237, allocations: 53.56 kB / 0.8665 GB, free: 174.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.924, allocations: 306.6 kB / 0.8668 GB, free: 174.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.924, allocations: 31.33 kB / 0.8668 GB, free: 174.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.9241, allocations: 181.6 kB / 0.867 GB, free: 174.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.9242, allocations: 54.7 kB / 0.8671 GB, free: 174.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.9242, allocations: 37.66 kB / 0.8671 GB, free: 174.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.9243, allocations: 342.5 kB / 0.8674 GB, free: 173.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.9245, allocations: 62.33 kB / 0.8675 GB, free: 173.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.9247, allocations: 108.9 kB / 0.8676 GB, free: 173.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.925, allocations: 173.7 kB / 0.8677 GB, free: 173.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.925, allocations: 4.562 kB / 0.8678 GB, free: 173.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004143/0.9254, allocations: 221.8 kB / 0.868 GB, free: 173.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.9254, allocations: 5.25 kB / 0.868 GB, free: 173.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9254, allocations: 4.75 kB / 0.868 GB, free: 173.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.9254, allocations: 2.469 kB / 0.868 GB, free: 173.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.9256, allocations: 31.75 kB / 0.868 GB, free: 173.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.9256, allocations: 6.203 kB / 0.868 GB, free: 173.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.9258, allocations: 36.45 kB / 0.868 GB, free: 173.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.9258, allocations: 8 kB / 0.8681 GB, free: 173.7 MB / 0.67 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.0001202/0.9259, allocations: 143.9 kB / 0.8682 GB, free: 173.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.926, allocations: 32.92 kB / 0.8682 GB, free: 173.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004402/0.9264, allocations: 217.8 kB / 0.8684 GB, free: 173.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.9264, allocations: 1.875 kB / 0.8684 GB, free: 173.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9264, allocations: 0 / 0.8684 GB, free: 173.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.9264, allocations: 2.453 kB / 0.8684 GB, free: 173.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009922/0.9274, allocations: 0.6767 MB / 0.8691 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9274, allocations: 2.781 kB / 0.8691 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.9276, allocations: 36.72 kB / 0.8691 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.9276, allocations: 3.25 kB / 0.8691 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.9276, allocations: 4.266 kB / 0.8691 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.9276, allocations: 3.281 kB / 0.8691 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.9276, allocations: 6.688 kB / 0.8691 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.928, allocations: 337.3 kB / 0.8695 GB, free: 172.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/0.9281, allocations: 120.6 kB / 0.8696 GB, free: 172.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.9281, allocations: 8.047 kB / 0.8696 GB, free: 172.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.9282, allocations: 12.39 kB / 0.8696 GB, free: 172.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.9283, allocations: 17.7 kB / 0.8696 GB, free: 172.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.9283, allocations: 5 kB / 0.8696 GB, free: 172.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002169/0.9285, allocations: 228.9 kB / 0.8698 GB, free: 172.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.9285, allocations: 1 kB / 0.8698 GB, free: 172.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003695/0.9289, allocations: 75.14 kB / 0.8699 GB, free: 172.4 MB / 0.67 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.0007803/0.9297, allocations: 0.9267 MB / 0.8708 GB, free: 171.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.9301, allocations: 148.2 kB / 0.871 GB, free: 171.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9301, allocations: 0.7812 kB / 0.871 GB, free: 171.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.9303, allocations: 80.25 kB / 0.871 GB, free: 171.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.931, allocations: 153.8 kB / 0.8712 GB, free: 171.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.9343, allocations: 2.814 MB / 0.8739 GB, free: 169.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.9345, allocations: 0.7798 MB / 0.8747 GB, free: 168.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.9347, allocations: 56.36 kB / 0.8748 GB, free: 168.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.9349, allocations: 90.72 kB / 0.8748 GB, free: 168.9 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/0.9349, allocations: 1 kB / 0.8748 GB, free: 168.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.9678, allocations: 8.194 MB / 0.8828 GB, free: 165.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/9.291, allocations: 6.953 kB / 0.8828 GB, free: 165.4 MB / 0.67 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.592962654773146] Failed to read output from testmodel.py, exit status != 0: 9.362150855828077 9.373735342 8.775710023 Calling exit ...