Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001188/0.001188, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001332/0.001332, allocations: 217.6 kB / 23.04 MB, free: 5.074 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8028/0.8028, allocations: 134 MB / 447.2 MB, free: 10.25 MB / 350.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/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.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",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.001858/0.001858, allocations: 69.09 kB / 0.6193 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1738, allocations: 85.9 MB / 0.7032 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5624/0.7361, allocations: 174.1 MB / 0.8732 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007704/0.7438, allocations: 6.107 MB / 0.8792 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.7442, allocations: 15.88 kB / 0.8792 GB, free: 2.418 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007914/0.745, allocations: 191.9 kB / 0.8794 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.7454, allocations: 91.36 kB / 0.8795 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.7468, allocations: 0.545 MB / 0.88 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006709/0.7475, allocations: 422.4 kB / 0.8804 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.7478, allocations: 96.19 kB / 0.8805 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.7482, allocations: 199.3 kB / 0.8807 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.7485, allocations: 155.3 kB / 0.8808 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.7485, allocations: 16 kB / 0.8808 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000897/0.7494, allocations: 0.5065 MB / 0.8813 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.7496, allocations: 67.77 kB / 0.8814 GB, free: 148 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.7497, allocations: 103.5 kB / 0.8815 GB, free: 44 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008296/0.7505, allocations: 474.3 kB / 0.882 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.7505, allocations: 4 kB / 0.882 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7505, allocations: 4 kB / 0.882 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.7505, allocations: 0 / 0.882 GB, free: 15.57 MB / 0.6544 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.0006971/0.7512, allocations: 461.3 kB / 0.8824 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.7513, allocations: 12.03 kB / 0.8824 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.122e-05/0.7513, allocations: 4.438 kB / 0.8824 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.7514, allocations: 58.55 kB / 0.8825 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.7516, allocations: 51.8 kB / 0.8825 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.752, allocations: 204.8 kB / 0.8827 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.7523, allocations: 246 kB / 0.883 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.7523, allocations: 20 kB / 0.883 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.7527, allocations: 290 kB / 0.8833 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.7528, allocations: 4 kB / 0.8833 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.7528, allocations: 8 kB / 0.8833 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.7528, allocations: 8 kB / 0.8833 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.7531, allocations: 168.6 kB / 0.8834 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.7546, allocations: 1.537 MB / 0.8849 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.473e-05/0.7547, allocations: 165.1 kB / 0.8851 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.7548, allocations: 96.08 kB / 0.8852 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.7548, allocations: 79.28 kB / 0.8853 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/0.7549, allocations: 113.8 kB / 0.8854 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.7549, allocations: 0 / 0.8854 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.666e-05/0.755, allocations: 41.61 kB / 0.8854 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.755, allocations: 130.6 kB / 0.8855 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.7554, allocations: 313.8 kB / 0.8858 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.7554, allocations: 29.7 kB / 0.8859 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.7556, allocations: 195.6 kB / 0.886 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.7556, allocations: 4 kB / 0.886 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/0.7557, allocations: 41.66 kB / 0.8861 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7558, allocations: 330.8 kB / 0.8864 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.7559, allocations: 39.97 kB / 0.8864 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.7561, allocations: 165 kB / 0.8866 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.7563, allocations: 192.9 kB / 0.8868 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7563, allocations: 0 / 0.8868 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004197/0.7567, allocations: 221.1 kB / 0.887 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7568, allocations: 10.34 kB / 0.887 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.7568, allocations: 4 kB / 0.887 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.7568, allocations: 11.94 kB / 0.887 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.7569, allocations: 35.92 kB / 0.8871 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.757, allocations: 11.98 kB / 0.8871 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.7571, allocations: 32.27 kB / 0.8871 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.7571, allocations: 16 kB / 0.8871 GB, free: 9.859 MB / 0.6544 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 0.0001563/0.7573, allocations: 217 kB / 0.8873 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.7574, allocations: 128.8 kB / 0.8874 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.7575, allocations: 125.8 kB / 0.8876 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.706e-05/0.7575, allocations: 184.2 kB / 0.8877 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.984e-05/0.7576, allocations: 180.3 kB / 0.8879 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.057e-05/0.7577, allocations: 176.3 kB / 0.8881 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.758, allocations: 456.1 kB / 0.8885 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-05/0.7581, allocations: 109 kB / 0.8886 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.7581, allocations: 108.9 kB / 0.8887 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-05/0.7582, allocations: 180.2 kB / 0.8889 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-05/0.7583, allocations: 180.3 kB / 0.8891 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.777e-05/0.7584, allocations: 180.2 kB / 0.8892 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.117e-05/0.7584, allocations: 180.3 kB / 0.8894 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.7586, allocations: 327.5 kB / 0.8897 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/0.7587, allocations: 136.8 kB / 0.8898 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7588, allocations: 184.2 kB / 0.89 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.759, allocations: 101 kB / 0.8901 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.759, allocations: 192.1 kB / 0.8903 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.7591, allocations: 105 kB / 0.8904 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002457/0.7593, allocations: 217.2 kB / 0.8906 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7593, allocations: 4 kB / 0.8906 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003428/0.7597, allocations: 47.94 kB / 0.8907 GB, free: 6.023 MB / 0.6544 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.0005841/0.7602, allocations: 0.8592 MB / 0.8915 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.7604, allocations: 76.84 kB / 0.8916 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.7604, allocations: 4 kB / 0.8916 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.7604, allocations: 192 / 0.8916 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.761, allocations: 488.2 kB / 0.892 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.7638, allocations: 2.506 MB / 0.8945 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.7641, allocations: 0.7358 MB / 0.8952 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.7642, allocations: 33.94 kB / 0.8952 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.7643, allocations: 59.42 kB / 0.8953 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of SimCode: time 6.72e-07/0.7643, allocations: 4 kB / 0.8953 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.7905, allocations: 4.254 MB / 0.8995 GB, free: 12.94 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.43, allocations: 12.05 kB / 0.8995 GB, free: 12.93 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.88326663908083] Failed to read output from testmodel.py, exit status != 0: 11.58476865303237 11.610551436 10.85551241 Calling exit ...