Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.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.001267/0.001267, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001418/0.001418, allocations: 210.6 kB / 23.78 MB, free: 4.555 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.387/1.387, allocations: 230.6 MB / 257.6 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9186/0.9186, allocations: 150 MB / 464 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001908/0.001908, allocations: 59.47 kB / 0.642 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1809, allocations: 89.17 MB / 0.729 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.5426/0.7235, allocations: 155.3 MB / 0.8807 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.7343, allocations: 7.994 MB / 0.8885 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008125/0.7351, allocations: 35.69 kB / 0.8885 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008723/0.736, allocations: 309.7 kB / 0.8888 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007806/0.7367, allocations: 322.3 kB / 0.8891 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.7378, allocations: 407.6 kB / 0.8895 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.7392, allocations: 1.164 MB / 0.8906 GB, free: 15.35 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007343/0.7399, allocations: 447.1 kB / 0.891 GB, free: 14.91 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005031/0.745, allocations: 2.086 MB / 0.8931 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/0.7455, allocations: 374.4 kB / 0.8934 GB, free: 12.45 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.421e-05/0.7456, allocations: 40 kB / 0.8935 GB, free: 12.41 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.7458, allocations: 79.95 kB / 0.8936 GB, free: 12.33 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.7461, allocations: 263.3 kB / 0.8938 GB, free: 12.07 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.7464, allocations: 234.8 kB / 0.894 GB, free: 11.84 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0008139/0.7472, allocations: 0.6417 MB / 0.8947 GB, free: 11.2 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7472, allocations: 0 / 0.8947 GB, free: 11.2 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7472, allocations: 4 kB / 0.8947 GB, free: 11.2 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.7472, allocations: 0 / 0.8947 GB, free: 11.2 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001098/0.7483, allocations: 0.7697 MB / 0.8954 GB, free: 10.39 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.7484, allocations: 8.031 kB / 0.8954 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.217e-05/0.7484, allocations: 17.31 kB / 0.8954 GB, free: 10.37 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.898e-05/0.7485, allocations: 94.52 kB / 0.8955 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.7486, allocations: 71.52 kB / 0.8956 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.7493, allocations: 383.2 kB / 0.896 GB, free: 9.793 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.7493, allocations: 45.3 kB / 0.896 GB, free: 9.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.7494, allocations: 56 kB / 0.8961 GB, free: 9.695 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.7504, allocations: 0.7086 MB / 0.8967 GB, free: 8.902 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.7505, allocations: 3.938 kB / 0.8968 GB, free: 8.898 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.7505, allocations: 24 kB / 0.8968 GB, free: 8.875 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/0.7506, allocations: 27.98 kB / 0.8968 GB, free: 8.848 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.7512, allocations: 376.1 kB / 0.8972 GB, free: 8.48 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.7538, allocations: 3.071 MB / 0.9002 GB, free: 5.273 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.7541, allocations: 218 kB / 0.9004 GB, free: 4.969 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.7543, allocations: 128.6 kB / 0.9005 GB, free: 4.812 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.7543, allocations: 7.938 kB / 0.9005 GB, free: 4.805 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.7543, allocations: 42.5 kB / 0.9005 GB, free: 4.754 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.7543, allocations: 0 / 0.9005 GB, free: 4.754 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0006873/0.755, allocations: 253.7 kB / 0.9008 GB, free: 4.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.7551, allocations: 290.7 kB / 0.9011 GB, free: 4.148 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007811/0.7559, allocations: 0.6839 MB / 0.9017 GB, free: 3.453 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.7559, allocations: 29.7 kB / 0.9018 GB, free: 3.418 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.7562, allocations: 268.3 kB / 0.902 GB, free: 3.152 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.7562, allocations: 39.62 kB / 0.902 GB, free: 3.113 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.7563, allocations: 30.11 kB / 0.9021 GB, free: 3.078 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.7565, allocations: 370.8 kB / 0.9024 GB, free: 2.707 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.7566, allocations: 40.52 kB / 0.9025 GB, free: 2.668 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.7568, allocations: 221.6 kB / 0.9027 GB, free: 2.402 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.7571, allocations: 129 kB / 0.9028 GB, free: 2.258 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7571, allocations: 0 / 0.9028 GB, free: 2.258 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003459/0.7574, allocations: 193.6 kB / 0.903 GB, free: 2.062 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.7574, allocations: 10.81 kB / 0.903 GB, free: 2.055 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7574, allocations: 0 / 0.903 GB, free: 2.055 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.7574, allocations: 4.188 kB / 0.903 GB, free: 2.051 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.7576, allocations: 47.88 kB / 0.903 GB, free: 2.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.7577, allocations: 6.438 kB / 0.9031 GB, free: 2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.7579, allocations: 59.83 kB / 0.9031 GB, free: 1.941 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.7579, allocations: 8 kB / 0.9031 GB, free: 1.934 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 (10): * Single equations (assignments): 10 * 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.0002125/0.7581, allocations: 201.7 kB / 0.9033 GB, free: 1.727 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.7583, allocations: 75.44 kB / 0.9034 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.194e-05/0.7584, allocations: 60.25 kB / 0.9034 GB, free: 1.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.7584, allocations: 8 kB / 0.9034 GB, free: 1.582 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7584, allocations: 4 kB / 0.9035 GB, free: 1.578 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7584, allocations: 4 kB / 0.9035 GB, free: 1.574 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.7598, allocations: 1.229 MB / 0.9047 GB, free: 268 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7598, allocations: 0 / 0.9047 GB, free: 268 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.76, allocations: 48.17 kB / 0.9047 GB, free: 220 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.76, allocations: 4 kB / 0.9047 GB, free: 216 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.76, allocations: 4 kB / 0.9047 GB, free: 212 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.76, allocations: 7.938 kB / 0.9047 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.76, allocations: 0 / 0.9047 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.7605, allocations: 346.7 kB / 0.905 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.7606, allocations: 79.53 kB / 0.9051 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.7607, allocations: 8 kB / 0.9051 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.7608, allocations: 16.8 kB / 0.9051 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.7609, allocations: 11.98 kB / 0.9052 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.7609, allocations: 8 kB / 0.9052 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005706/0.7615, allocations: 0.4915 MB / 0.9056 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.7615, allocations: 0 / 0.9056 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003721/0.7618, allocations: 83.89 kB / 0.9057 GB, free: 15.13 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.000836/0.7627, allocations: 0.8951 MB / 0.9066 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.763, allocations: 111.8 kB / 0.9067 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.763, allocations: 4 kB / 0.9067 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.7631, allocations: 60.78 kB / 0.9068 GB, free: 14 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.7644, allocations: 275.9 kB / 0.907 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005589/0.77, allocations: 4.462 MB / 0.9114 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.7703, allocations: 305.7 kB / 0.9117 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002759/0.7706, allocations: 108.6 kB / 0.9118 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.7708, allocations: 167.4 kB / 0.9119 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of SimCode: time 7.31e-07/0.7708, allocations: 4 kB / 0.9119 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03998/0.8108, allocations: 14.74 MB / 0.9263 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.71, allocations: 8 kB / 0.9263 GB, free: 10.23 MB / 0.7012 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.34309588302858] Failed to read output from testmodel.py, exit status != 0: 12.877032016054727 12.894039745 12.143551811 Calling exit ...