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.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.001255/0.001255, allocations: 108.1 kB / 16.45 MB, free: 6.035 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.001261/0.001261, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.39/1.39, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.035/1.035, allocations: 175.8 MB / 478.4 MB, free: 8.469 MB / 382.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-master/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.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 0.001886/0.001886, allocations: 65.19 kB / 0.6652 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1795, allocations: 94.55 MB / 0.7575 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5917/0.7711, allocations: 180 MB / 0.9333 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.7813, allocations: 7.874 MB / 0.941 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005725/0.7819, allocations: 19.88 kB / 0.9411 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007022/0.7826, allocations: 250.2 kB / 0.9413 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.7858, allocations: 1.268 MB / 0.9425 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.7877, allocations: 0.7351 MB / 0.9433 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.7891, allocations: 1.064 MB / 0.9443 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000571/0.7896, allocations: 357.4 kB / 0.9446 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.7925, allocations: 0.9967 MB / 0.9456 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006716/0.7932, allocations: 442.4 kB / 0.946 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.982e-05/0.7932, allocations: 36 kB / 0.9461 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.7951, allocations: 0.9899 MB / 0.947 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.7953, allocations: 175.5 kB / 0.9472 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.7955, allocations: 242.8 kB / 0.9474 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.7971, allocations: 0.9406 MB / 0.9483 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7971, allocations: 0 / 0.9483 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7971, allocations: 0 / 0.9483 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.7971, allocations: 0 / 0.9483 GB, free: 4.754 MB / 0.7325 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.001244/0.7984, allocations: 0.825 MB / 0.9492 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.7984, allocations: 12.02 kB / 0.9492 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.425e-05/0.7985, allocations: 74.53 kB / 0.9492 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/0.7994, allocations: 151.6 kB / 0.9494 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006879/0.8001, allocations: 407.6 kB / 0.9498 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.8001, allocations: 29.62 kB / 0.9498 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.987e-05/0.8002, allocations: 40 kB / 0.9498 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.801, allocations: 446.3 kB / 0.9503 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.801, allocations: 7.938 kB / 0.9503 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.801, allocations: 16 kB / 0.9503 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.801, allocations: 12 kB / 0.9503 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006146/0.8016, allocations: 319.7 kB / 0.9506 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.8041, allocations: 2.02 MB / 0.9526 GB, free: 132 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/0.8045, allocations: 220.5 kB / 0.9528 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.8047, allocations: 132.8 kB / 0.9529 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/0.8054, allocations: 311.6 kB / 0.9532 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.8054, allocations: 34.56 kB / 0.9532 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 2.464e-06/0.8054, allocations: 0 / 0.9532 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.001056/0.8065, allocations: 468.3 kB / 0.9537 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.8065, allocations: 55.41 kB / 0.9537 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.8069, allocations: 390 kB / 0.9541 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.807, allocations: 33.7 kB / 0.9541 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.8072, allocations: 236.5 kB / 0.9544 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.706e-05/0.8072, allocations: 83.23 kB / 0.9544 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.8074, allocations: 65.67 kB / 0.9545 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.8075, allocations: 358.7 kB / 0.9549 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.8078, allocations: 111.9 kB / 0.955 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.8081, allocations: 178.8 kB / 0.9551 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005052/0.8086, allocations: 306.6 kB / 0.9554 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.8086, allocations: 0 / 0.9554 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006689/0.8092, allocations: 368.2 kB / 0.9558 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8093, allocations: 8 kB / 0.9558 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.8093, allocations: 224 / 0.9558 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.8093, allocations: 8 kB / 0.9558 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.8096, allocations: 55.91 kB / 0.9558 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.8096, allocations: 5.484 kB / 0.9558 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.8098, allocations: 43.66 kB / 0.9559 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.8099, allocations: 16 kB / 0.9559 GB, free: 12.55 MB / 0.7481 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.0002032/0.8101, allocations: 169.7 kB / 0.9561 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.8101, allocations: 40.47 kB / 0.9561 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000725/0.8109, allocations: 367.5 kB / 0.9565 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.8109, allocations: 7.938 kB / 0.9565 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8109, allocations: 0 / 0.9565 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.8109, allocations: 3.938 kB / 0.9565 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.8124, allocations: 0.9392 MB / 0.9574 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.8124, allocations: 4 kB / 0.9574 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.8127, allocations: 51.91 kB / 0.9574 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.8127, allocations: 1.75 kB / 0.9574 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.8127, allocations: 16.16 kB / 0.9575 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.8127, allocations: 4 kB / 0.9575 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.8127, allocations: 4 kB / 0.9575 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.8137, allocations: 0.6329 MB / 0.9581 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.814, allocations: 148.7 kB / 0.9582 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.814, allocations: 11.98 kB / 0.9582 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.8142, allocations: 4 kB / 0.9582 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.8143, allocations: 24.03 kB / 0.9583 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.8143, allocations: 15.94 kB / 0.9583 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003189/0.8146, allocations: 279.1 kB / 0.9585 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8146, allocations: 3.938 kB / 0.9585 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004877/0.8151, allocations: 111.8 kB / 0.9586 GB, free: 9.59 MB / 0.7481 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.001674/0.8168, allocations: 1.247 MB / 0.9599 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006246/0.8174, allocations: 275.6 kB / 0.9601 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8174, allocations: 448 / 0.9601 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.8177, allocations: 143.8 kB / 0.9603 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.8188, allocations: 229.2 kB / 0.9605 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/0.8241, allocations: 3.804 MB / 0.9642 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.8246, allocations: 0.8311 MB / 0.965 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00034/0.825, allocations: 99.39 kB / 0.9651 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.8252, allocations: 139.4 kB / 0.9652 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of SimCode: time 8.02e-07/0.8252, allocations: 0 / 0.9652 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05177/0.877, allocations: 11.76 MB / 0.9767 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.404/9.281, allocations: 15.8 kB / 0.9767 GB, free: 7.082 MB / 0.7637 GB " [Timeout remaining time 651] (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: 12.969815759919584] Failed to read output from testmodel.py, exit status != 0: 9.352841794025153 9.366697897 8.56676861 Calling exit ...