Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.0006958/0.0006958, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001767, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006971/0.0006971, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008988/0.001596, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9228/0.9228, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08217/1.005, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001356/0.001356, allocations: 245.7 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.002432, allocations: 466.8 kB / 244.7 MB, free: 14.18 MB / 250.7 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 0.716/0.716, allocations: 138.7 MB / 384.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0706/0.7866, allocations: 42.4 MB / 426.5 MB, free: 5.941 MB / 410.7 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.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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 427.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.981e-05, allocations: 2.312 kB / 427.8 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3404/0.3404, allocations: 161.3 MB / 0.5753 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008079/0.3485, allocations: 5.562 MB / 0.5807 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.3501, allocations: 75.31 kB / 0.5808 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.3514, allocations: 0.5856 MB / 0.5814 GB, free: 9.035 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.354, allocations: 1.243 MB / 0.5826 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.357, allocations: 1.64 MB / 0.5842 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.3595, allocations: 2.68 MB / 0.5868 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.3606, allocations: 0.9685 MB / 0.5878 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.3624, allocations: 1.472 MB / 0.5892 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007406/0.3631, allocations: 0.7641 MB / 0.5899 GB, free: 224 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.3632, allocations: 108 kB / 0.59 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.3648, allocations: 1.013 MB / 0.591 GB, free: 15.1 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.365, allocations: 346.9 kB / 0.5914 GB, free: 14.76 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.3654, allocations: 371.3 kB / 0.5917 GB, free: 14.39 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.3668, allocations: 1.351 MB / 0.593 GB, free: 13.04 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.438e-05/0.3668, allocations: 0 / 0.593 GB, free: 13.04 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3668, allocations: 4 kB / 0.593 GB, free: 13.04 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.3668, allocations: 0 / 0.593 GB, free: 13.04 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001314/0.3681, allocations: 1.667 MB / 0.5947 GB, free: 11.34 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.3682, allocations: 8.75 kB / 0.5947 GB, free: 11.33 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000858/0.369, allocations: 388.3 kB / 0.595 GB, free: 10.93 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/0.3698, allocations: 0.7048 MB / 0.5957 GB, free: 10.2 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.3699, allocations: 291.6 kB / 0.596 GB, free: 9.867 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.37, allocations: 88 kB / 0.5961 GB, free: 9.781 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.3706, allocations: 0.6388 MB / 0.5967 GB, free: 9.102 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3706, allocations: 7.938 kB / 0.5967 GB, free: 9.094 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.3706, allocations: 36 kB / 0.5968 GB, free: 9.059 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.3706, allocations: 20 kB / 0.5968 GB, free: 9.039 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.3709, allocations: 236.1 kB / 0.597 GB, free: 8.809 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.3728, allocations: 2.175 MB / 0.5991 GB, free: 6.578 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.373, allocations: 108.1 kB / 0.5992 GB, free: 6.461 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.373, allocations: 55.64 kB / 0.5993 GB, free: 6.402 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.3732, allocations: 95.97 kB / 0.5994 GB, free: 6.309 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3732, allocations: 38.42 kB / 0.5994 GB, free: 6.262 MB / 0.573 GB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.3732, allocations: 0 / 0.5994 GB, free: 6.262 MB / 0.573 GB Notification: Performance of matching and sorting (n=24): time 0.0003506/0.3736, allocations: 194.3 kB / 0.5996 GB, free: 6.066 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.3736, allocations: 51.41 kB / 0.5996 GB, free: 6.004 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.374, allocations: 0.5856 MB / 0.6002 GB, free: 5.41 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.374, allocations: 33.7 kB / 0.6003 GB, free: 5.371 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.3742, allocations: 461.4 kB / 0.6007 GB, free: 4.914 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.3742, allocations: 91.16 kB / 0.6008 GB, free: 4.824 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.3743, allocations: 98.09 kB / 0.6009 GB, free: 4.723 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.3744, allocations: 378.6 kB / 0.6012 GB, free: 4.344 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.3745, allocations: 39.81 kB / 0.6013 GB, free: 4.301 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.3749, allocations: 0.6255 MB / 0.6019 GB, free: 3.484 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.3751, allocations: 308.7 kB / 0.6022 GB, free: 3.094 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3751, allocations: 4 kB / 0.6022 GB, free: 3.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002859/0.3754, allocations: 303 kB / 0.6025 GB, free: 2.785 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3754, allocations: 8 kB / 0.6025 GB, free: 2.777 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3754, allocations: 4 kB / 0.6025 GB, free: 2.773 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3754, allocations: 12 kB / 0.6025 GB, free: 2.762 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.3756, allocations: 103.9 kB / 0.6026 GB, free: 2.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3756, allocations: 11.94 kB / 0.6026 GB, free: 2.648 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.3758, allocations: 51.62 kB / 0.6027 GB, free: 2.598 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.3759, allocations: 22.05 kB / 0.6027 GB, free: 2.578 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0001378/0.376, allocations: 144.5 kB / 0.6028 GB, free: 2.426 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.3761, allocations: 56.03 kB / 0.6029 GB, free: 2.371 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.3763, allocations: 236.1 kB / 0.6031 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.3764, allocations: 7.984 kB / 0.6031 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.3764, allocations: 0 / 0.6031 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3764, allocations: 7.875 kB / 0.6031 GB, free: 2.113 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008404/0.3772, allocations: 0.9111 MB / 0.604 GB, free: 1.102 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3772, allocations: 4 kB / 0.604 GB, free: 1.098 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-05/0.3773, allocations: 52.47 kB / 0.604 GB, free: 1.047 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3774, allocations: 87.44 kB / 0.6041 GB, free: 0.9609 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.3774, allocations: 12 kB / 0.6041 GB, free: 0.9492 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3774, allocations: 12 kB / 0.6042 GB, free: 0.9375 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3774, allocations: 11.92 kB / 0.6042 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3774, allocations: 4 kB / 0.6042 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.3777, allocations: 449.3 kB / 0.6046 GB, free: 400 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.3777, allocations: 15.98 kB / 0.6046 GB, free: 384 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.3779, allocations: 12.88 kB / 0.6046 GB, free: 372 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.3779, allocations: 31.91 kB / 0.6047 GB, free: 340 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3779, allocations: 8 kB / 0.6047 GB, free: 332 kB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001802/0.3781, allocations: 284.5 kB / 0.6049 GB, free: 48 kB / 0.573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3781, allocations: 0 / 0.6049 GB, free: 48 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005649/0.3786, allocations: 311 kB / 0.6052 GB, free: 15.74 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003208/0.379, allocations: 236.8 kB / 0.6055 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.3792, allocations: 173.6 kB / 0.6056 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/0.3792, allocations: 13.36 kB / 0.6056 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.3793, allocations: 80.59 kB / 0.6057 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007249/0.38, allocations: 337.3 kB / 0.606 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006069/0.3861, allocations: 1.528 MB / 0.6075 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.3862, allocations: 209.6 kB / 0.6077 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003833/0.3866, allocations: 108.5 kB / 0.6078 GB, free: 13 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.387, allocations: 235.1 kB / 0.6081 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of SimCode: time 1.423e-06/0.387, allocations: 0 / 0.6081 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of Templates: time 0.01616/0.4031, allocations: 12.74 MB / 0.6205 GB, free: 0.4922 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.860267650336027]