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.001716/0.001716, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002052/0.002052, allocations: 218 kB / 23.04 MB, free: 5.078 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002468/0.002468, allocations: 280.7 kB / 313.5 MB, free: 2.816 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.22/1.22, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.002808/0.002808, allocations: 101.9 kB / 0.7404 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1805, allocations: 95.39 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6501/0.8306, allocations: 254.1 MB / 1.082 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02785/0.8585, allocations: 22.63 MB / 1.104 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.8604, allocations: 72.47 kB / 1.104 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.8634, allocations: 0.9965 MB / 1.105 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.8682, allocations: 1.537 MB / 1.106 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005826/0.874, allocations: 2.035 MB / 1.108 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00534/0.8794, allocations: 2.702 MB / 1.111 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.8815, allocations: 0.9638 MB / 1.112 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.8852, allocations: 1.391 MB / 1.113 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.8873, allocations: 0.9634 MB / 1.114 GB, free: 11 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004087/0.8878, allocations: 113.5 kB / 1.114 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004493/0.8922, allocations: 1.859 MB / 1.116 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006629/0.8929, allocations: 386.7 kB / 1.116 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.8943, allocations: 0.6338 MB / 1.117 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005399/0.8997, allocations: 2.359 MB / 1.119 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8997, allocations: 0 / 1.119 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8997, allocations: 0 / 1.119 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.173e-05/0.8998, allocations: 0 / 1.119 GB, free: 6.133 MB / 0.7481 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.002989/0.9028, allocations: 1.442 MB / 1.121 GB, free: 4.652 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.9028, allocations: 9.344 kB / 1.121 GB, free: 4.645 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.293e-05/0.9028, allocations: 22 kB / 1.121 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/0.9031, allocations: 143.5 kB / 1.121 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.9043, allocations: 231 kB / 1.121 GB, free: 4.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.9061, allocations: 0.8403 MB / 1.122 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.9064, allocations: 295.5 kB / 1.122 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.9065, allocations: 92 kB / 1.122 GB, free: 2.953 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.9082, allocations: 0.9245 MB / 1.123 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.9082, allocations: 7.938 kB / 1.123 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/0.9083, allocations: 36 kB / 1.123 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.9083, allocations: 27.94 kB / 1.123 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.9096, allocations: 0.6324 MB / 1.124 GB, free: 1.289 MB / 0.7481 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.005524/0.9152, allocations: 4.371 MB / 1.128 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.9156, allocations: 182.7 kB / 1.128 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.9158, allocations: 136.8 kB / 1.129 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005868/0.9164, allocations: 123.9 kB / 1.129 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.9164, allocations: 34.56 kB / 1.129 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.9164, allocations: 0 / 1.129 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.001233/0.9177, allocations: 479 kB / 1.129 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.9177, allocations: 55.41 kB / 1.129 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.9193, allocations: 1.11 MB / 1.13 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.9194, allocations: 33.7 kB / 1.13 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.9198, allocations: 0.5165 MB / 1.131 GB, free: 9.82 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.892e-05/0.9199, allocations: 91.25 kB / 1.131 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.9201, allocations: 102 kB / 1.131 GB, free: 9.625 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.9203, allocations: 322 kB / 1.131 GB, free: 9.305 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.9205, allocations: 124.8 kB / 1.131 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.921, allocations: 387.7 kB / 1.132 GB, free: 8.695 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.9217, allocations: 471.5 kB / 1.132 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.9217, allocations: 1.125 kB / 1.132 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001048/0.9227, allocations: 0.5434 MB / 1.133 GB, free: 7.598 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.9228, allocations: 10.41 kB / 1.133 GB, free: 7.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.9228, allocations: 11.94 kB / 1.133 GB, free: 7.578 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.9228, allocations: 15.94 kB / 1.133 GB, free: 7.562 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.9232, allocations: 91.83 kB / 1.133 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.9232, allocations: 11.94 kB / 1.133 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.9239, allocations: 99.27 kB / 1.133 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.924, allocations: 24 kB / 1.133 GB, free: 7.34 MB / 0.7637 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.0004119/0.9244, allocations: 286.2 kB / 1.133 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.9246, allocations: 111.3 kB / 1.133 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007953/0.9254, allocations: 429 kB / 1.134 GB, free: 6.504 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.9254, allocations: 4 kB / 1.134 GB, free: 6.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9254, allocations: 0 / 1.134 GB, free: 6.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.9254, allocations: 0 / 1.134 GB, free: 6.5 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.9278, allocations: 1.53 MB / 1.135 GB, free: 4.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.9278, allocations: 4 kB / 1.135 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.928, allocations: 43.86 kB / 1.135 GB, free: 4.82 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.928, allocations: 11.94 kB / 1.135 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.928, allocations: 12.55 kB / 1.135 GB, free: 4.797 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.928, allocations: 12 kB / 1.135 GB, free: 4.785 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.928, allocations: 7.938 kB / 1.135 GB, free: 4.777 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007102/0.9287, allocations: 0.5776 MB / 1.136 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.9291, allocations: 163.1 kB / 1.136 GB, free: 3.973 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.9293, allocations: 8 kB / 1.136 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.9297, allocations: 19.98 kB / 1.136 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.9298, allocations: 35.83 kB / 1.136 GB, free: 3.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.9298, allocations: 12 kB / 1.136 GB, free: 3.898 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001183/0.931, allocations: 0.7783 MB / 1.137 GB, free: 3.113 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/0.931, allocations: 0 / 1.137 GB, free: 3.113 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009986/0.932, allocations: 287.4 kB / 1.137 GB, free: 2.832 MB / 0.7637 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.001549/0.9335, allocations: 1.342 MB / 1.139 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006923/0.9342, allocations: 325.1 kB / 1.139 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.9342, allocations: 8.062 kB / 1.139 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.9345, allocations: 131.8 kB / 1.139 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.937, allocations: 0.5187 MB / 1.14 GB, free: 464 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.948, allocations: 7.439 MB / 1.147 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007955/0.9488, allocations: 1.066 MB / 1.148 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007393/0.9495, allocations: 200.7 kB / 1.148 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/0.95, allocations: 363.3 kB / 1.148 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of SimCode: time 9.32e-07/0.95, allocations: 0 / 1.148 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06309/1.013, allocations: 28.52 MB / 1.176 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.09, allocations: 11.94 kB / 1.176 GB, free: 10.83 MB / 0.8106 GB " [Timeout remaining time 646] (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: 18.498618434008677] Failed to read output from testmodel.py, exit status != 0: 14.270548225962557 14.287774189 13.384627405 Calling exit ...