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.001379/0.001379, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001921/0.001921, allocations: 214.8 kB / 22.25 MB, free: 5.234 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.801 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.002694/0.002694, allocations: 294.7 kB / 312.7 MB, free: 2.594 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.281/1.281, allocations: 180.6 MB / 0.5369 GB, free: 14.48 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.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: 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.002972/0.002972, allocations: 104.9 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1739, allocations: 95.38 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2/0.3739, allocations: 150.5 MB / 0.9796 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4155/0.7893, allocations: 5.51 MB / 0.985 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.7896, allocations: 9.594 kB / 0.985 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005301/0.7901, allocations: 192.1 kB / 0.9852 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.7904, allocations: 95.98 kB / 0.9853 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.7915, allocations: 0.5285 MB / 0.9858 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000392/0.7919, allocations: 409.3 kB / 0.9862 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.7921, allocations: 89.77 kB / 0.9863 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.7924, allocations: 195.2 kB / 0.9865 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.7926, allocations: 146.1 kB / 0.9866 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.7926, allocations: 17.38 kB / 0.9866 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.7933, allocations: 376.2 kB / 0.987 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.7934, allocations: 70.98 kB / 0.9871 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.7935, allocations: 87.69 kB / 0.9872 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006765/0.7942, allocations: 455.9 kB / 0.9876 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7942, allocations: 0 / 0.9876 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7942, allocations: 1 kB / 0.9876 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.7942, allocations: 0 / 0.9876 GB, free: 3.582 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000731/0.7949, allocations: 462.8 kB / 0.988 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.795, allocations: 15.77 kB / 0.988 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.795, allocations: 60.97 kB / 0.9881 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.7953, allocations: 42.61 kB / 0.9881 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.7957, allocations: 210.2 kB / 0.9883 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.7959, allocations: 238.8 kB / 0.9886 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.7959, allocations: 22.31 kB / 0.9886 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.7963, allocations: 294.3 kB / 0.9889 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.7963, allocations: 2.172 kB / 0.9889 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.7963, allocations: 8.688 kB / 0.9889 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.7963, allocations: 6.938 kB / 0.9889 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.7966, allocations: 161 kB / 0.989 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.7979, allocations: 1.518 MB / 0.9905 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.753e-05/0.798, allocations: 172.7 kB / 0.9907 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.798, allocations: 80.14 kB / 0.9908 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.7981, allocations: 78.78 kB / 0.9908 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.7981, allocations: 107 kB / 0.9909 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.7981, allocations: 1.844 kB / 0.9909 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.000102/0.7982, allocations: 49.55 kB / 0.991 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.7983, allocations: 131.4 kB / 0.9911 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.7986, allocations: 316.9 kB / 0.9914 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.7986, allocations: 28.39 kB / 0.9914 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.7987, allocations: 192.1 kB / 0.9916 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-06/0.7987, allocations: 6.031 kB / 0.9916 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.7988, allocations: 48.86 kB / 0.9917 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7989, allocations: 325.3 kB / 0.992 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.978e-05/0.799, allocations: 37.56 kB / 0.992 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.7991, allocations: 167.7 kB / 0.9922 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.7993, allocations: 197.1 kB / 0.9924 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7993, allocations: 1.391 kB / 0.9924 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003523/0.7996, allocations: 223.2 kB / 0.9926 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.7996, allocations: 6.781 kB / 0.9926 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7996, allocations: 7.031 kB / 0.9926 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.7997, allocations: 5.781 kB / 0.9926 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.7998, allocations: 37.38 kB / 0.9926 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.7998, allocations: 7.547 kB / 0.9927 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.8, allocations: 35.59 kB / 0.9927 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.8, allocations: 12.39 kB / 0.9927 GB, free: 15.8 MB / 0.7325 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.0001528/0.8001, allocations: 228 kB / 0.9929 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.8002, allocations: 123.2 kB / 0.993 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.8003, allocations: 123.3 kB / 0.9932 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-05/0.8004, allocations: 185.9 kB / 0.9933 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.44e-05/0.8004, allocations: 179.5 kB / 0.9935 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.813e-05/0.8005, allocations: 184.4 kB / 0.9937 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.8008, allocations: 446.2 kB / 0.9941 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.611e-05/0.8009, allocations: 105.8 kB / 0.9942 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.8009, allocations: 108.6 kB / 0.9943 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.771e-05/0.801, allocations: 176.9 kB / 0.9945 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.8011, allocations: 185.8 kB / 0.9947 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.559e-05/0.8011, allocations: 177 kB / 0.9948 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.491e-05/0.8012, allocations: 187 kB / 0.995 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.8014, allocations: 325 kB / 0.9953 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.934e-05/0.8015, allocations: 130 kB / 0.9954 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.8016, allocations: 184.5 kB / 0.9956 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.8017, allocations: 103.5 kB / 0.9957 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.8018, allocations: 186.3 kB / 0.9959 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.8018, allocations: 103.3 kB / 0.996 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002315/0.8021, allocations: 219.2 kB / 0.9962 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8021, allocations: 0 / 0.9962 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003554/0.8024, allocations: 56.53 kB / 0.9962 GB, free: 12.41 MB / 0.7325 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.0005361/0.803, allocations: 0.852 MB / 0.9971 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.8032, allocations: 82.17 kB / 0.9972 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.8032, allocations: 4.781 kB / 0.9972 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.8032, allocations: 0 / 0.9972 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.8037, allocations: 484.3 kB / 0.9976 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.8063, allocations: 2.507 MB / 1 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.8064, allocations: 126.9 kB / 1 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.8065, allocations: 39.89 kB / 1 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/0.8066, allocations: 55.58 kB / 1 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.8066, allocations: 0.9688 kB / 1 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04284/0.8495, allocations: 4.615 MB / 1.005 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.75, allocations: 16.33 kB / 1.005 GB, free: 8.434 MB / 0.7325 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 16.181216432712972] Failed to read output from testmodel.py, exit status != 0: 11.860021878033876 11.881713684 11.083660924 Calling exit ...