Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001293/0.001293, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001492/0.001492, allocations: 220.7 kB / 23.03 MB, free: 4.941 MB / 14.72 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 1.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002402/0.002402, allocations: 287.5 kB / 313.5 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.179/1.179, allocations: 180.6 MB / 0.5377 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002815/0.002815, allocations: 103.8 kB / 0.7403 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1645, allocations: 95.38 MB / 0.8334 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1734/0.3379, allocations: 147.7 MB / 0.9776 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4186/0.7565, allocations: 5.99 MB / 0.9835 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004449/0.7569, allocations: 21.81 kB / 0.9835 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.7575, allocations: 171.2 kB / 0.9837 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.7598, allocations: 0.8422 MB / 0.9845 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.7608, allocations: 346.2 kB / 0.9848 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.762, allocations: 0.7363 MB / 0.9855 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004563/0.7625, allocations: 214.4 kB / 0.9857 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.7639, allocations: 0.5706 MB / 0.9863 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005431/0.7645, allocations: 288.2 kB / 0.9866 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.7645, allocations: 22.59 kB / 0.9866 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007538/0.7653, allocations: 300.4 kB / 0.9869 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.7654, allocations: 112.7 kB / 0.987 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.7656, allocations: 134.2 kB / 0.9871 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008381/0.7664, allocations: 474 kB / 0.9876 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7665, allocations: 1.031 kB / 0.9876 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7665, allocations: 0 / 0.9876 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.7665, allocations: 0.9688 kB / 0.9876 GB, free: 3.637 MB / 0.7169 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.001188/0.7677, allocations: 0.5543 MB / 0.9881 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.7677, allocations: 11.62 kB / 0.9881 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.137e-05/0.7677, allocations: 8.969 kB / 0.9881 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.094e-05/0.7678, allocations: 65.47 kB / 0.9882 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.7682, allocations: 61.77 kB / 0.9883 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.7687, allocations: 268.3 kB / 0.9885 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.7687, allocations: 21.22 kB / 0.9885 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.7688, allocations: 29.41 kB / 0.9886 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/0.7694, allocations: 318.7 kB / 0.9889 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.7694, allocations: 1.125 kB / 0.9889 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.7694, allocations: 12.5 kB / 0.9889 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.7694, allocations: 6.344 kB / 0.9889 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.7698, allocations: 207.1 kB / 0.9891 GB, free: 18.93 MB / 0.7325 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.001385/0.7712, allocations: 1.197 MB / 0.9902 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.7714, allocations: 108.2 kB / 0.9903 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.7716, allocations: 90.39 kB / 0.9904 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/0.7721, allocations: 74.88 kB / 0.9905 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.7721, allocations: 31.31 kB / 0.9905 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.7721, allocations: 3.188 kB / 0.9905 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007074/0.7728, allocations: 276.3 kB / 0.9908 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.7728, allocations: 54.5 kB / 0.9909 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.7732, allocations: 312.7 kB / 0.9912 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.7732, allocations: 29.3 kB / 0.9912 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.7733, allocations: 183.3 kB / 0.9914 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.7734, allocations: 47.86 kB / 0.9914 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.7734, allocations: 37.2 kB / 0.9914 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.7736, allocations: 343.2 kB / 0.9918 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.7737, allocations: 61.14 kB / 0.9918 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.7739, allocations: 190.6 kB / 0.992 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.7742, allocations: 172.6 kB / 0.9922 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7742, allocations: 0.9688 kB / 0.9922 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003746/0.7746, allocations: 219.4 kB / 0.9924 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.7746, allocations: 7.047 kB / 0.9924 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7746, allocations: 3.531 kB / 0.9924 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.7746, allocations: 0 / 0.9924 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.7748, allocations: 39.64 kB / 0.9924 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7748, allocations: 5.438 kB / 0.9924 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.7749, allocations: 30.91 kB / 0.9925 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.775, allocations: 9.578 kB / 0.9925 GB, free: 17.11 MB / 0.7325 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.0001407/0.7751, allocations: 156 kB / 0.9926 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.7751, allocations: 29.03 kB / 0.9926 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.7755, allocations: 205 kB / 0.9928 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.7755, allocations: 3.594 kB / 0.9928 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7755, allocations: 1.203 kB / 0.9928 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.7756, allocations: 5.062 kB / 0.9929 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009349/0.7765, allocations: 0.6341 MB / 0.9935 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7765, allocations: 4.406 kB / 0.9935 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.7766, allocations: 27.16 kB / 0.9935 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.7766, allocations: 3.594 kB / 0.9935 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.7766, allocations: 11.47 kB / 0.9935 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7766, allocations: 4.219 kB / 0.9935 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.7766, allocations: 2.719 kB / 0.9935 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.7771, allocations: 335.5 kB / 0.9938 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.7771, allocations: 47.48 kB / 0.9939 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.7772, allocations: 9.312 kB / 0.9939 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.7773, allocations: 12.03 kB / 0.9939 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.7774, allocations: 15.06 kB / 0.9939 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.7774, allocations: 8.625 kB / 0.9939 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002095/0.7776, allocations: 220 kB / 0.9941 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7776, allocations: 0 / 0.9941 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003901/0.778, allocations: 77.64 kB / 0.9942 GB, free: 16.29 MB / 0.7325 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.000819/0.7788, allocations: 0.9049 MB / 0.9951 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003637/0.7792, allocations: 155.5 kB / 0.9952 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7792, allocations: 1.625 kB / 0.9952 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.7793, allocations: 84.03 kB / 0.9953 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.7801, allocations: 155.4 kB / 0.9955 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.7837, allocations: 2.808 MB / 0.9982 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.784, allocations: 174.3 kB / 0.9984 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.7842, allocations: 66.7 kB / 0.9984 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.7843, allocations: 94.7 kB / 0.9985 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.7843, allocations: 0.875 kB / 0.9985 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.8187, allocations: 8.856 MB / 1.007 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.05, allocations: 6.781 kB / 1.007 GB, free: 13.15 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.08636331395246] Failed to read output from testmodel.py, exit status != 0: 12.206605275976472 12.224663539 11.45441262 Calling exit ...