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.001304/0.001304, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001507/0.001507, allocations: 216.3 kB / 23.03 MB, free: 4.922 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.00407/0.00407, allocations: 298.2 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.246/1.246, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",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.002793/0.002793, allocations: 93.67 kB / 0.7402 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1814, allocations: 95.39 MB / 0.8334 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1836/0.3649, allocations: 150.4 MB / 0.9803 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4446/0.8095, allocations: 5.501 MB / 0.9857 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.8098, allocations: 13.62 kB / 0.9857 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.8104, allocations: 192.3 kB / 0.9859 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.8108, allocations: 95.75 kB / 0.986 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.8123, allocations: 0.5224 MB / 0.9865 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.8127, allocations: 411.7 kB / 0.9869 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.8129, allocations: 94.5 kB / 0.987 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.8132, allocations: 195.1 kB / 0.9871 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.8135, allocations: 159.5 kB / 0.9873 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.8135, allocations: 17.38 kB / 0.9873 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007632/0.8143, allocations: 377.9 kB / 0.9877 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.8144, allocations: 70.3 kB / 0.9877 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.8145, allocations: 83.33 kB / 0.9878 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000824/0.8153, allocations: 460.7 kB / 0.9883 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8154, allocations: 1.047 kB / 0.9883 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8154, allocations: 0.8438 kB / 0.9883 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.8154, allocations: 2.094 kB / 0.9883 GB, free: 3.586 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.0007741/0.8161, allocations: 462.9 kB / 0.9887 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.8162, allocations: 12.45 kB / 0.9887 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.561e-05/0.8162, allocations: 6.438 kB / 0.9887 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.487e-05/0.8163, allocations: 60.72 kB / 0.9888 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/0.8165, allocations: 43.84 kB / 0.9888 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.8169, allocations: 205 kB / 0.989 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.8171, allocations: 242.3 kB / 0.9892 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.8171, allocations: 21 kB / 0.9893 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.8176, allocations: 288.4 kB / 0.9895 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.8176, allocations: 4.906 kB / 0.9895 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.8176, allocations: 11.44 kB / 0.9896 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.8176, allocations: 7.859 kB / 0.9896 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.8179, allocations: 162.5 kB / 0.9897 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.8193, allocations: 1.51 MB / 0.9912 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.8194, allocations: 176.9 kB / 0.9914 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.8194, allocations: 81.17 kB / 0.9914 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.8195, allocations: 75.28 kB / 0.9915 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.8195, allocations: 114 kB / 0.9916 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.452e-06/0.8195, allocations: 0 / 0.9916 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.982e-05/0.8196, allocations: 43.31 kB / 0.9917 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.8197, allocations: 135.6 kB / 0.9918 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.82, allocations: 310.8 kB / 0.9921 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.82, allocations: 26.3 kB / 0.9921 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.8201, allocations: 191.7 kB / 0.9923 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-06/0.8201, allocations: 4.156 kB / 0.9923 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.8202, allocations: 44.97 kB / 0.9923 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8203, allocations: 330.8 kB / 0.9927 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.8204, allocations: 38.33 kB / 0.9927 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.8205, allocations: 165.6 kB / 0.9928 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.8207, allocations: 201.9 kB / 0.993 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8207, allocations: 6.906 kB / 0.993 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003766/0.8211, allocations: 212.4 kB / 0.9933 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8211, allocations: 10.41 kB / 0.9933 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.8211, allocations: 2.938 kB / 0.9933 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.8211, allocations: 7.25 kB / 0.9933 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.8213, allocations: 42.56 kB / 0.9933 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.8213, allocations: 11.56 kB / 0.9933 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.8215, allocations: 32.3 kB / 0.9934 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.8215, allocations: 13.36 kB / 0.9934 GB, free: 15.81 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.0001525/0.8217, allocations: 226.5 kB / 0.9936 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.8218, allocations: 127.4 kB / 0.9937 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.8219, allocations: 123.7 kB / 0.9938 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.538e-05/0.8219, allocations: 180.5 kB / 0.994 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-05/0.822, allocations: 183.7 kB / 0.9942 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.278e-05/0.8221, allocations: 180.8 kB / 0.9943 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.8224, allocations: 444.3 kB / 0.9948 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.602e-05/0.8224, allocations: 111.2 kB / 0.9949 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.8225, allocations: 102.5 kB / 0.995 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.519e-05/0.8226, allocations: 183.1 kB / 0.9951 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/0.8226, allocations: 178.3 kB / 0.9953 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.739e-05/0.8227, allocations: 183.1 kB / 0.9955 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.456e-05/0.8228, allocations: 180.3 kB / 0.9957 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.823, allocations: 328.1 kB / 0.996 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.8231, allocations: 134.8 kB / 0.9961 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.8232, allocations: 179.7 kB / 0.9963 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.8233, allocations: 108 kB / 0.9964 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.8234, allocations: 177.7 kB / 0.9965 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.8235, allocations: 108.1 kB / 0.9966 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002398/0.8237, allocations: 220 kB / 0.9969 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8237, allocations: 0.9062 kB / 0.9969 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003925/0.8241, allocations: 49.7 kB / 0.9969 GB, free: 12.42 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.0005938/0.8247, allocations: 0.8612 MB / 0.9977 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.8249, allocations: 83.44 kB / 0.9978 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8249, allocations: 0.9375 kB / 0.9978 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.8249, allocations: 0 / 0.9978 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.8255, allocations: 477 kB / 0.9983 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.828, allocations: 2.522 MB / 1.001 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.8281, allocations: 129.7 kB / 1.001 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.8283, allocations: 42.36 kB / 1.001 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.8284, allocations: 55.25 kB / 1.001 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.8284, allocations: 3.219 kB / 1.001 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.8538, allocations: 4.307 MB / 1.005 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.9, allocations: 14.86 kB / 1.005 GB, free: 8.828 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 & /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: 16.187782630091533] Failed to read output from testmodel.py, exit status != 0: 12.073538218974136 12.095955547 11.276622567 Calling exit ...