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.001288/0.001288, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001487/0.001487, allocations: 220 kB / 22.24 MB, free: 5.109 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.824 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.002594/0.002594, allocations: 290.8 kB / 312.7 MB, free: 2.734 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.261/1.261, allocations: 180.6 MB / 0.5369 GB, free: 14.63 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.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.00472/0.00472, allocations: 108 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2255, allocations: 95.38 MB / 0.8326 GB, free: 8.344 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6339/0.8593, allocations: 222.2 MB / 1.05 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.8805, allocations: 20.56 MB / 1.07 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.8825, allocations: 75.5 kB / 1.07 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002629/0.8851, allocations: 0.9785 MB / 1.071 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00404/0.8892, allocations: 1.518 MB / 1.072 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005579/0.8947, allocations: 1.946 MB / 1.074 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003954/0.8987, allocations: 2.69 MB / 1.077 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.9003, allocations: 0.9635 MB / 1.078 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.9032, allocations: 1.386 MB / 1.079 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.9046, allocations: 0.9073 MB / 1.08 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.9047, allocations: 109.4 kB / 1.08 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.9076, allocations: 1.408 MB / 1.081 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003797/0.908, allocations: 391.3 kB / 1.082 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005708/0.9085, allocations: 0.5123 MB / 1.082 GB, free: 9 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.9115, allocations: 2.3 MB / 1.085 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9115, allocations: 2.938 kB / 1.085 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9115, allocations: 0 / 1.085 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.187e-05/0.9115, allocations: 0 / 1.085 GB, free: 7.508 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.002148/0.9137, allocations: 1.429 MB / 1.086 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.9137, allocations: 10.09 kB / 1.086 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.9139, allocations: 150 kB / 1.086 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.9149, allocations: 233.6 kB / 1.086 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.9165, allocations: 0.8485 MB / 1.087 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.9167, allocations: 290.6 kB / 1.087 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.9168, allocations: 90.59 kB / 1.088 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.9183, allocations: 0.9251 MB / 1.088 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.9183, allocations: 3.938 kB / 1.088 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/0.9184, allocations: 36.62 kB / 1.088 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.9184, allocations: 21.72 kB / 1.089 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.9195, allocations: 0.6364 MB / 1.089 GB, free: 4.332 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.004059/0.9235, allocations: 2.891 MB / 1.092 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.9239, allocations: 180.4 kB / 1.092 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.9241, allocations: 140.3 kB / 1.092 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/0.9247, allocations: 126.6 kB / 1.092 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.9247, allocations: 33.56 kB / 1.092 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.9247, allocations: 0 / 1.092 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.00102/0.9257, allocations: 477.5 kB / 1.093 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.9257, allocations: 58.62 kB / 1.093 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.9271, allocations: 1.116 MB / 1.094 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.9271, allocations: 32.14 kB / 1.094 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/0.9276, allocations: 0.513 MB / 1.095 GB, free: 484 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.9277, allocations: 93.98 kB / 1.095 GB, free: 400 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.9278, allocations: 100 kB / 1.095 GB, free: 336 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.928, allocations: 321.6 kB / 1.095 GB, free: 12 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.9282, allocations: 129.3 kB / 1.095 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006415/0.9288, allocations: 0.7403 MB / 1.096 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/0.9294, allocations: 470.1 kB / 1.096 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.9294, allocations: 0 / 1.096 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008618/0.9303, allocations: 0.5459 MB / 1.097 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.9303, allocations: 5.75 kB / 1.097 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.9303, allocations: 7.5 kB / 1.097 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.9303, allocations: 14.97 kB / 1.097 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.9307, allocations: 89.73 kB / 1.097 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.9307, allocations: 10.78 kB / 1.097 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006499/0.9314, allocations: 95.2 kB / 1.097 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.9314, allocations: 27.98 kB / 1.097 GB, free: 14.4 MB / 0.7481 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.0003633/0.9318, allocations: 294.4 kB / 1.097 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.9319, allocations: 109.4 kB / 1.097 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006963/0.9326, allocations: 435.4 kB / 1.098 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.9326, allocations: 3.562 kB / 1.098 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.9326, allocations: 0 / 1.098 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9326, allocations: 0 / 1.098 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.9348, allocations: 1.447 MB / 1.099 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.9348, allocations: 3.469 kB / 1.099 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.935, allocations: 43.5 kB / 1.099 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.935, allocations: 7.094 kB / 1.099 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.935, allocations: 9.344 kB / 1.099 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.9351, allocations: 12.22 kB / 1.099 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.9351, allocations: 8.125 kB / 1.099 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.9357, allocations: 0.5787 MB / 1.1 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.936, allocations: 168.1 kB / 1.1 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.9362, allocations: 21.38 kB / 1.1 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.9366, allocations: 12.17 kB / 1.1 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.9366, allocations: 30.62 kB / 1.1 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.9367, allocations: 19.38 kB / 1.1 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009702/0.9376, allocations: 0.7868 MB / 1.101 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9376, allocations: 0 / 1.101 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007996/0.9384, allocations: 290 kB / 1.101 GB, free: 11.68 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.001289/0.9397, allocations: 1.307 MB / 1.103 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005661/0.9403, allocations: 333.5 kB / 1.103 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9403, allocations: 0 / 1.103 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.9405, allocations: 139.1 kB / 1.103 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.9427, allocations: 0.5153 MB / 1.103 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00987/0.9526, allocations: 7.436 MB / 1.111 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.9531, allocations: 485 kB / 1.111 GB, free: 2.645 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000733/0.9538, allocations: 189.8 kB / 1.111 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/0.9544, allocations: 367.3 kB / 1.112 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of SimCode: time 7.92e-07/0.9544, allocations: 4 kB / 1.112 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06729/1.022, allocations: 30.66 MB / 1.142 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.66, allocations: 2.438 kB / 1.142 GB, free: 4.066 MB / 0.7794 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.971454871818423] Failed to read output from testmodel.py, exit status != 0: 12.7890220656991 12.806386738 11.891436487 Calling exit ...