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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 105.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002483, allocations: 290.5 kB / 303 MB, free: 9.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.169/1.169, allocations: 180.9 MB / 0.5261 GB, free: 14.68 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003024/0.003024, allocations: 108.7 kB / 0.7248 GB, free: 40.08 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1634, allocations: 94.16 MB / 0.8167 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1953/0.3586, allocations: 170.9 MB / 0.9836 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0071/0.3657, allocations: 6.034 MB / 0.9895 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.3661, allocations: 11.94 kB / 0.9895 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.3667, allocations: 190.7 kB / 0.9897 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.367, allocations: 95.38 kB / 0.9898 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3684, allocations: 0.5333 MB / 0.9903 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005308/0.3689, allocations: 410.8 kB / 0.9907 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.3692, allocations: 107.6 kB / 0.9908 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.3695, allocations: 183.3 kB / 0.991 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.3697, allocations: 163.4 kB / 0.9911 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.3697, allocations: 16 kB / 0.9912 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007724/0.3705, allocations: 490.6 kB / 0.9916 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.3706, allocations: 71.8 kB / 0.9917 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.3707, allocations: 103.5 kB / 0.9918 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.3714, allocations: 454.4 kB / 0.9922 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3714, allocations: 0 / 0.9922 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3714, allocations: 0 / 0.9922 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.3714, allocations: 0 / 0.9922 GB, free: 1.016 MB / 0.7325 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.0007449/0.3721, allocations: 0.5374 MB / 0.9928 GB, free: 440 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3722, allocations: 8.031 kB / 0.9928 GB, free: 432 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.283e-05/0.3722, allocations: 66.47 kB / 0.9928 GB, free: 356 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.3725, allocations: 47.84 kB / 0.9929 GB, free: 308 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.373, allocations: 254.7 kB / 0.9931 GB, free: 12 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.3732, allocations: 135.4 kB / 0.9932 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.3732, allocations: 24 kB / 0.9933 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.3737, allocations: 298.8 kB / 0.9935 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3737, allocations: 7.938 kB / 0.9936 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.3737, allocations: 8 kB / 0.9936 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.3737, allocations: 8 kB / 0.9936 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.374, allocations: 156.6 kB / 0.9937 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.3755, allocations: 1.579 MB / 0.9953 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 9.111e-05/0.3756, allocations: 177.1 kB / 0.9954 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.3756, allocations: 80.14 kB / 0.9955 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.3757, allocations: 75.28 kB / 0.9956 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.3757, allocations: 109.8 kB / 0.9957 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.3757, allocations: 0 / 0.9957 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 9.223e-05/0.3758, allocations: 45.61 kB / 0.9957 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.3759, allocations: 130.7 kB / 0.9959 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.3762, allocations: 314.6 kB / 0.9962 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3763, allocations: 25.7 kB / 0.9962 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.3764, allocations: 195.7 kB / 0.9964 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.3764, allocations: 3.938 kB / 0.9964 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/0.3765, allocations: 45.66 kB / 0.9964 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3766, allocations: 334.8 kB / 0.9967 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/0.3767, allocations: 43.97 kB / 0.9968 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.3769, allocations: 159.5 kB / 0.9969 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.3771, allocations: 196.9 kB / 0.9971 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3771, allocations: 0 / 0.9971 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004096/0.3775, allocations: 217.1 kB / 0.9973 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3776, allocations: 11.94 kB / 0.9973 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3776, allocations: 4.625 kB / 0.9973 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3776, allocations: 4 kB / 0.9973 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.3777, allocations: 43.92 kB / 0.9974 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3778, allocations: 7.938 kB / 0.9974 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.3779, allocations: 39.73 kB / 0.9974 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.378, allocations: 8 kB / 0.9974 GB, free: 11.23 MB / 0.7481 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.0001504/0.3781, allocations: 221 kB / 0.9976 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.71e-05/0.3782, allocations: 128.8 kB / 0.9978 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.131e-05/0.3783, allocations: 125.8 kB / 0.9979 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-05/0.3783, allocations: 188.2 kB / 0.9981 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.018e-05/0.3784, allocations: 180.2 kB / 0.9982 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-05/0.3785, allocations: 184.2 kB / 0.9984 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.3788, allocations: 481.1 kB / 0.9989 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-05/0.3789, allocations: 104.9 kB / 0.999 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.3789, allocations: 105 kB / 0.9991 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.095e-05/0.379, allocations: 180.2 kB / 0.9992 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/0.3791, allocations: 188.2 kB / 0.9994 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.965e-05/0.3791, allocations: 176.3 kB / 0.9996 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.89e-05/0.3792, allocations: 180.2 kB / 0.9998 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.3794, allocations: 323.7 kB / 1 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.3795, allocations: 214.1 kB / 1 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.402e-05/0.3796, allocations: 180.3 kB / 1 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3798, allocations: 117 kB / 1.001 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.3798, allocations: 180.3 kB / 1.001 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.3799, allocations: 105 kB / 1.001 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000267/0.3801, allocations: 221.9 kB / 1.001 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3801, allocations: 3.938 kB / 1.001 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003514/0.3805, allocations: 51.88 kB / 1.001 GB, free: 7.254 MB / 0.7481 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.0005964/0.3811, allocations: 0.8554 MB / 1.002 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.3813, allocations: 84.02 kB / 1.002 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3813, allocations: 0 / 1.002 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.3813, allocations: 0 / 1.002 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.3818, allocations: 485.2 kB / 1.002 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.3846, allocations: 2.5 MB / 1.005 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.385, allocations: 0.7437 MB / 1.006 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.3851, allocations: 33.94 kB / 1.006 GB, free: 2.309 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.3852, allocations: 51.42 kB / 1.006 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.3852, allocations: 3.938 kB / 1.006 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3696/0.7547, allocations: 4.081 MB / 1.01 GB, free: 194.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.684, allocations: 1.828 kB / 1.01 GB, free: 194.4 MB / 0.7481 GB " [Timeout remaining time 651] (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: 12.648137792013586] Failed to read output from testmodel.py, exit status != 0: 8.754520375747234 8.773329259 8.399289591 Calling exit ...