Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.0007358/0.0007358, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008097/0.0008097, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8468/0.8468, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001969/0.001969, allocations: 230 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6572/0.6572, allocations: 138.4 MB / 454.3 MB, free: 1.629 MB / 362.7 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.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 1.438 kB / 0.6463 GB, free: 29.21 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.213e-05, allocations: 2.281 kB / 0.6463 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1166/0.1166, allocations: 150.4 MB / 0.7932 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004239/0.1209, allocations: 5.48 MB / 0.7985 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.1212, allocations: 7.938 kB / 0.7985 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.1218, allocations: 198.7 kB / 0.7987 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1222, allocations: 91.31 kB / 0.7988 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.1234, allocations: 0.5407 MB / 0.7993 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.1238, allocations: 418.5 kB / 0.7997 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.124, allocations: 88.27 kB / 0.7998 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.1243, allocations: 255.3 kB / 0.8001 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1244, allocations: 131.6 kB / 0.8002 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1245, allocations: 16 kB / 0.8002 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005677/0.125, allocations: 378.7 kB / 0.8006 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1251, allocations: 71.73 kB / 0.8006 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.1252, allocations: 71.83 kB / 0.8007 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005558/0.1258, allocations: 470.4 kB / 0.8012 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1258, allocations: 0 / 0.8012 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.116e-06/0.1258, allocations: 7.984 kB / 0.8012 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1258, allocations: 0 / 0.8012 GB, free: 2.527 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005124/0.1263, allocations: 453.4 kB / 0.8016 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1263, allocations: 8.75 kB / 0.8016 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.022e-05/0.1264, allocations: 62.55 kB / 0.8017 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.1266, allocations: 39.84 kB / 0.8017 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.1269, allocations: 204.8 kB / 0.8019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.1271, allocations: 238.1 kB / 0.8021 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1271, allocations: 24 kB / 0.8022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.1274, allocations: 293.9 kB / 0.8024 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/0.1274, allocations: 0 / 0.8024 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.1274, allocations: 15.94 kB / 0.8024 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1274, allocations: 4 kB / 0.8025 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.1276, allocations: 164.5 kB / 0.8026 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009516/0.1286, allocations: 1.517 MB / 0.8041 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.126e-05/0.1286, allocations: 169.1 kB / 0.8043 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.1287, allocations: 80.14 kB / 0.8043 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1287, allocations: 75.28 kB / 0.8044 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.1288, allocations: 117.8 kB / 0.8045 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.1288, allocations: 0 / 0.8045 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 6.614e-05/0.1288, allocations: 49.5 kB / 0.8046 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.1289, allocations: 126.7 kB / 0.8047 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.1291, allocations: 317.7 kB / 0.805 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.1291, allocations: 25.7 kB / 0.805 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.1292, allocations: 195.6 kB / 0.8052 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.1292, allocations: 4 kB / 0.8052 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.1293, allocations: 45.66 kB / 0.8052 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.1294, allocations: 330.8 kB / 0.8056 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.1294, allocations: 39.97 kB / 0.8056 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1295, allocations: 159.8 kB / 0.8057 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.1297, allocations: 200.9 kB / 0.8059 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1297, allocations: 4 kB / 0.8059 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002686/0.13, allocations: 221.5 kB / 0.8062 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.13, allocations: 4 kB / 0.8062 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.13, allocations: 8 kB / 0.8062 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.13, allocations: 7.938 kB / 0.8062 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.1301, allocations: 35.92 kB / 0.8062 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1301, allocations: 11.98 kB / 0.8062 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.1302, allocations: 35.72 kB / 0.8063 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1302, allocations: 8 kB / 0.8063 GB, free: 12.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 9.645e-05/0.1303, allocations: 221.6 kB / 0.8065 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.1304, allocations: 137 kB / 0.8066 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.1304, allocations: 121.8 kB / 0.8067 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-05/0.1305, allocations: 184.1 kB / 0.8069 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.84e-05/0.1305, allocations: 180.3 kB / 0.8071 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.99e-05/0.1305, allocations: 184.2 kB / 0.8072 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.1309, allocations: 444.2 kB / 0.8077 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/0.1309, allocations: 101 kB / 0.8078 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.1309, allocations: 108.9 kB / 0.8079 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.669e-05/0.131, allocations: 176.3 kB / 0.808 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.131, allocations: 184.2 kB / 0.8082 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-05/0.131, allocations: 192.2 kB / 0.8084 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.629e-05/0.1311, allocations: 180.3 kB / 0.8086 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.24e-05/0.1312, allocations: 319.7 kB / 0.8089 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.1312, allocations: 136.8 kB / 0.809 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.1313, allocations: 180.2 kB / 0.8092 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.1313, allocations: 108.9 kB / 0.8093 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.1314, allocations: 184.2 kB / 0.8095 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.1314, allocations: 101 kB / 0.8095 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001539/0.1316, allocations: 217.2 kB / 0.8098 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1316, allocations: 0 / 0.8098 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002645/0.1318, allocations: 59.88 kB / 0.8098 GB, free: 9.043 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003587/0.1322, allocations: 0.8515 MB / 0.8106 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.1323, allocations: 80.47 kB / 0.8107 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1323, allocations: 0 / 0.8107 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.1323, allocations: 0 / 0.8107 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.1329, allocations: 484.1 kB / 0.8112 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.1347, allocations: 2.502 MB / 0.8136 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.1348, allocations: 132.9 kB / 0.8138 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.665e-05/0.1349, allocations: 36.19 kB / 0.8138 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.1349, allocations: 56.47 kB / 0.8138 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of SimCode: time 5.01e-07/0.1349, allocations: 0 / 0.8138 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.1551, allocations: 4.746 MB / 0.8185 GB, free: 96 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.73/6.885, allocations: 19.53 kB / 0.8185 GB, free: 80 kB / 0.6511 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.469623243436217] Failed to read output from testmodel.py, exit status != 0: 6.96739854849875 6.975660745 6.847880232 Calling exit ...