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.0008332/0.0008332, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008965/0.0008965, allocations: 208.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9741/0.9741, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.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.8148/0.8148, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009472/0.0009472, allocations: 66.86 kB / 0.7182 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.5525, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1501/0.7026, allocations: 158.6 MB / 0.9726 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006186/0.7088, allocations: 7.221 MB / 0.9797 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005509/0.7093, allocations: 27.75 kB / 0.9797 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009173/0.7102, allocations: 254.2 kB / 0.98 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.7129, allocations: 1.213 MB / 0.9812 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.7143, allocations: 0.7836 MB / 0.9819 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0009207/0.7152, allocations: 1.087 MB / 0.983 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.7156, allocations: 333.6 kB / 0.9833 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.7177, allocations: 1.011 MB / 0.9843 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.7181, allocations: 426.4 kB / 0.9847 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.7181, allocations: 40 kB / 0.9847 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.7192, allocations: 0.7792 MB / 0.9855 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.7193, allocations: 159.5 kB / 0.9856 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.7195, allocations: 207 kB / 0.9858 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.7205, allocations: 0.9071 MB / 0.9867 GB, free: 8.113 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7205, allocations: 4 kB / 0.9867 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7205, allocations: 0 / 0.9867 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.7205, allocations: 4 kB / 0.9867 GB, free: 8.105 MB / 0.7605 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.0008886/0.7214, allocations: 0.7497 MB / 0.9875 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.7214, allocations: 8.031 kB / 0.9875 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.7215, allocations: 78.47 kB / 0.9875 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005811/0.7221, allocations: 147.6 kB / 0.9877 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.7225, allocations: 344.4 kB / 0.988 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.7225, allocations: 29 kB / 0.988 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.7226, allocations: 36 kB / 0.9881 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.723, allocations: 446.4 kB / 0.9885 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.7231, allocations: 0 / 0.9885 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.7231, allocations: 19.94 kB / 0.9885 GB, free: 6.176 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.7231, allocations: 12 kB / 0.9885 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.7235, allocations: 323.7 kB / 0.9888 GB, free: 5.848 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.7248, allocations: 1.5 MB / 0.9903 GB, free: 4.281 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.725, allocations: 218.4 kB / 0.9905 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.7252, allocations: 136.8 kB / 0.9906 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.7255, allocations: 83.91 kB / 0.9907 GB, free: 3.84 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.7255, allocations: 38.5 kB / 0.9908 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=24): time 2.014e-06/0.7255, allocations: 0 / 0.9908 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24): time 0.0007292/0.7263, allocations: 455.7 kB / 0.9912 GB, free: 3.344 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.7263, allocations: 55.41 kB / 0.9913 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.7266, allocations: 401.9 kB / 0.9916 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.7267, allocations: 29.7 kB / 0.9917 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.7268, allocations: 232.5 kB / 0.9919 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.7268, allocations: 87.27 kB / 0.992 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.7269, allocations: 57.69 kB / 0.992 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.727, allocations: 358.7 kB / 0.9924 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.7272, allocations: 111.9 kB / 0.9925 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.7274, allocations: 263.8 kB / 0.9927 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.7278, allocations: 300.8 kB / 0.993 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7278, allocations: 0 / 0.993 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004334/0.7282, allocations: 378.1 kB / 0.9934 GB, free: 1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.7282, allocations: 7.938 kB / 0.9934 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.7282, allocations: 0 / 0.9934 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7283, allocations: 4 kB / 0.9934 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.7284, allocations: 55.91 kB / 0.9934 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.7284, allocations: 8.219 kB / 0.9934 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.7286, allocations: 39.7 kB / 0.9935 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.7286, allocations: 16 kB / 0.9935 GB, free: 0.8711 MB / 0.7605 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.0001554/0.7288, allocations: 169.7 kB / 0.9937 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.7288, allocations: 43.72 kB / 0.9937 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/0.7295, allocations: 365.9 kB / 0.9941 GB, free: 296 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.7295, allocations: 4 kB / 0.9941 GB, free: 292 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7295, allocations: 0 / 0.9941 GB, free: 292 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7295, allocations: 8.031 kB / 0.9941 GB, free: 284 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/0.7305, allocations: 0.8737 MB / 0.9949 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.7305, allocations: 4 kB / 0.9949 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.7306, allocations: 48.12 kB / 0.995 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.7306, allocations: 11.94 kB / 0.995 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.7306, allocations: 8 kB / 0.995 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.7307, allocations: 0 / 0.995 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7307, allocations: 7.938 kB / 0.995 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/0.7313, allocations: 0.6193 MB / 0.9956 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.7314, allocations: 75.59 kB / 0.9957 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.7314, allocations: 8 kB / 0.9957 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.7316, allocations: 23.98 kB / 0.9957 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.7316, allocations: 27.91 kB / 0.9957 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.7316, allocations: 4 kB / 0.9957 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002178/0.7318, allocations: 283.1 kB / 0.996 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.7318, allocations: 0 / 0.996 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004029/0.7323, allocations: 115.8 kB / 0.9961 GB, free: 14.07 MB / 0.7761 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.001018/0.7333, allocations: 1.228 MB / 0.9973 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.7337, allocations: 273.5 kB / 0.9976 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7337, allocations: 3.938 kB / 0.9976 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.7338, allocations: 148.7 kB / 0.9977 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.7345, allocations: 210.2 kB / 0.9979 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.7381, allocations: 3.802 MB / 1.002 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.7382, allocations: 235.9 kB / 1.002 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002852/0.7385, allocations: 95.36 kB / 1.002 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.7387, allocations: 139.4 kB / 1.002 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of SimCode: time 1.543e-06/0.7387, allocations: 0 / 1.002 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.7691, allocations: 13.06 MB / 1.015 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/7.49, allocations: 10.23 kB / 1.015 GB, free: 10.98 MB / 0.7917 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.494685370009392] Failed to read output from testmodel.py, exit status != 0: 7.577008754014969 7.587845526 6.865092601 Calling exit ...