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.001315/0.001315, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.001524/0.001524, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.401/1.401, allocations: 177.2 MB / 202.8 MB, free: 9.137 MB / 190.1 MB " [Timeout remaining time 179] 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.002418/0.002418, allocations: 245.7 kB / 259.4 MB, free: 444 kB / 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.078/1.078, allocations: 138.4 MB / 454.3 MB, free: 2.02 MB / 366.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: 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.673e-06/1.673e-06, allocations: 0 / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.474e-05, allocations: 6.219 kB / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.517/0.5171, allocations: 221.6 MB / 0.8632 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02686/0.5439, allocations: 20.43 MB / 0.8832 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.5454, allocations: 71.38 kB / 0.8833 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.548, allocations: 1.009 MB / 0.8842 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.5518, allocations: 1.554 MB / 0.8858 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005046/0.5568, allocations: 2.038 MB / 0.8877 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003461/0.5603, allocations: 2.697 MB / 0.8904 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.5617, allocations: 0.9655 MB / 0.8913 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.5647, allocations: 1.76 MB / 0.893 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.5659, allocations: 0.8192 MB / 0.8938 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.5661, allocations: 108 kB / 0.8939 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.569, allocations: 1.429 MB / 0.8953 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004217/0.5695, allocations: 402.6 kB / 0.8957 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005696/0.57, allocations: 443 kB / 0.8961 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003308/0.5733, allocations: 2.325 MB / 0.8984 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5733, allocations: 3.938 kB / 0.8984 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5733, allocations: 0 / 0.8984 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.5734, allocations: 4 kB / 0.8984 GB, free: 14.39 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00212/0.5755, allocations: 1.418 MB / 0.8998 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.5755, allocations: 9.344 kB / 0.8998 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.5766, allocations: 235.8 kB / 0.9 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.5781, allocations: 0.8441 MB / 0.9009 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.5784, allocations: 295.5 kB / 0.9011 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.5785, allocations: 88 kB / 0.9012 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.5801, allocations: 0.9363 MB / 0.9021 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.5801, allocations: 0 / 0.9021 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.333e-05/0.5802, allocations: 39.94 kB / 0.9022 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.5802, allocations: 20 kB / 0.9022 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.5814, allocations: 0.6309 MB / 0.9028 GB, free: 9.734 MB / 0.7325 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.003753/0.5851, allocations: 2.636 MB / 0.9054 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.5855, allocations: 182.5 kB / 0.9056 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.5857, allocations: 137.4 kB / 0.9057 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/0.5863, allocations: 123.9 kB / 0.9058 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5863, allocations: 38.56 kB / 0.9059 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.853e-06/0.5863, allocations: 0 / 0.9059 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001113/0.5874, allocations: 440.1 kB / 0.9063 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.5875, allocations: 55.41 kB / 0.9063 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009228/0.5884, allocations: 0.6998 MB / 0.907 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.5884, allocations: 33.7 kB / 0.907 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/0.5889, allocations: 0.5502 MB / 0.9076 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.5889, allocations: 87.27 kB / 0.9077 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.5891, allocations: 98.09 kB / 0.9078 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.5893, allocations: 374.8 kB / 0.9081 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.5895, allocations: 128.9 kB / 0.9082 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006722/0.5902, allocations: 0.7389 MB / 0.909 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006495/0.5909, allocations: 463.6 kB / 0.9094 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.5909, allocations: 4 kB / 0.9094 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009052/0.5918, allocations: 0.5121 MB / 0.9099 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5918, allocations: 8 kB / 0.9099 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-06/0.5918, allocations: 4 kB / 0.9099 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.5918, allocations: 12.69 kB / 0.9099 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.5922, allocations: 87.89 kB / 0.91 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.5922, allocations: 15.94 kB / 0.91 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.5927, allocations: 47.7 kB / 0.9101 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.5927, allocations: 23.98 kB / 0.9101 GB, free: 1.863 MB / 0.7325 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.0003701/0.5931, allocations: 285.6 kB / 0.9104 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5932, allocations: 78.81 kB / 0.9104 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/0.5939, allocations: 401.8 kB / 0.9108 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5939, allocations: 4 kB / 0.9108 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5939, allocations: 0 / 0.9108 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5939, allocations: 15.81 kB / 0.9108 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.596, allocations: 1.333 MB / 0.9121 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.596, allocations: 4 kB / 0.9121 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.5962, allocations: 39.92 kB / 0.9122 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.5962, allocations: 8 kB / 0.9122 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.5962, allocations: 8 kB / 0.9122 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/0.5962, allocations: 15.92 kB / 0.9122 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5962, allocations: 4 kB / 0.9122 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/0.5969, allocations: 0.5352 MB / 0.9127 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.5971, allocations: 119.7 kB / 0.9129 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.5972, allocations: 11.95 kB / 0.9129 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.5975, allocations: 11.25 kB / 0.9129 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.5975, allocations: 35.83 kB / 0.9129 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.5975, allocations: 12 kB / 0.9129 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00064/0.5982, allocations: 499 kB / 0.9134 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.5982, allocations: 0 / 0.9134 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009099/0.5991, allocations: 323 kB / 0.9137 GB, free: 13.99 MB / 0.7481 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.0005319/0.5996, allocations: 317.2 kB / 0.914 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005972/0.6002, allocations: 332.7 kB / 0.9143 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6002, allocations: 0 / 0.9143 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.6004, allocations: 140.1 kB / 0.9145 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.6018, allocations: 265.7 kB / 0.9147 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.604, allocations: 1.532 MB / 0.9162 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.6045, allocations: 479.8 kB / 0.9167 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004411/0.605, allocations: 151.7 kB / 0.9168 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.6051, allocations: 48.48 kB / 0.9169 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.6051, allocations: 0 / 0.9169 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of Templates: time 0.02205/0.6272, allocations: 11.84 MB / 0.9284 GB, free: 15.15 MB / 0.7637 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.40302138030529] Failed to read output from testmodel.py, exit status != 0: 0.6355301328003407 0.649596441 0.073123373 Calling exit ...