Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.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.001213/0.001213, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.001356/0.001356, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.418/1.418, allocations: 230.6 MB / 253.5 MB, free: 15.14 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.002404/0.002404, allocations: 284.9 kB / 309.8 MB, free: 3.516 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.046/1.046, allocations: 180.6 MB / 0.5338 GB, free: 12.46 MB / 398.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.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",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.002807/0.002807, allocations: 91.86 kB / 0.7347 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5054, allocations: 95.34 MB / 0.8278 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.1835/0.6888, allocations: 152.4 MB / 0.9767 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.004283/0.6931, allocations: 3.628 MB / 0.9802 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.6932, allocations: 8 kB / 0.9802 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003776/0.6936, allocations: 67.56 kB / 0.9803 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.694, allocations: 147.2 kB / 0.9804 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.6967, allocations: 1.033 MB / 0.9814 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004406/0.6971, allocations: 323.6 kB / 0.9817 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.6972, allocations: 9.562 kB / 0.9817 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.6975, allocations: 203.2 kB / 0.9819 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.6977, allocations: 139.5 kB / 0.9821 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.6977, allocations: 12 kB / 0.9821 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.6998, allocations: 1.294 MB / 0.9833 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.6999, allocations: 75.78 kB / 0.9834 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.7, allocations: 107.5 kB / 0.9835 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.7011, allocations: 0.6503 MB / 0.9841 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.7011, allocations: 0 / 0.9841 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7011, allocations: 0 / 0.9841 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.7012, allocations: 4 kB / 0.9841 GB, free: 9.562 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001123/0.7023, allocations: 0.5995 MB / 0.9847 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.7023, allocations: 12.03 kB / 0.9847 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.675e-05/0.7023, allocations: 4.562 kB / 0.9848 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.002e-05/0.7024, allocations: 58.67 kB / 0.9848 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.7036, allocations: 132.7 kB / 0.9849 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.7038, allocations: 231.6 kB / 0.9852 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.7039, allocations: 12.38 kB / 0.9852 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.7039, allocations: 20 kB / 0.9852 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.7045, allocations: 334.3 kB / 0.9855 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.7045, allocations: 4 kB / 0.9855 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.7045, allocations: 8 kB / 0.9855 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.7045, allocations: 15.98 kB / 0.9855 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005481/0.7051, allocations: 324.1 kB / 0.9858 GB, free: 7.715 MB / 0.7169 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.001628/0.7067, allocations: 1.109 MB / 0.9869 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.7072, allocations: 174.5 kB / 0.9871 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.7073, allocations: 88.69 kB / 0.9872 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/0.7079, allocations: 461.4 kB / 0.9876 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.7079, allocations: 38.56 kB / 0.9877 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/0.7079, allocations: 0 / 0.9877 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0006976/0.7086, allocations: 266.5 kB / 0.9879 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.7087, allocations: 51.41 kB / 0.988 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.7089, allocations: 207.1 kB / 0.9882 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.7089, allocations: 33.7 kB / 0.9882 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.709, allocations: 144.2 kB / 0.9883 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.7091, allocations: 83.31 kB / 0.9884 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/0.7092, allocations: 53.66 kB / 0.9885 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7093, allocations: 334.8 kB / 0.9888 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.7095, allocations: 68.23 kB / 0.9888 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.7097, allocations: 159.6 kB / 0.989 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.71, allocations: 256.7 kB / 0.9892 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.71, allocations: 0 / 0.9892 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005373/0.7106, allocations: 292.1 kB / 0.9895 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7106, allocations: 4 kB / 0.9895 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7106, allocations: 7.938 kB / 0.9895 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.7106, allocations: 4 kB / 0.9895 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.7109, allocations: 55.91 kB / 0.9896 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.7109, allocations: 11.92 kB / 0.9896 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.7111, allocations: 31.78 kB / 0.9896 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.7111, allocations: 12 kB / 0.9896 GB, free: 3.488 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001323/0.7113, allocations: 141.3 kB / 0.9898 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.7114, allocations: 35.84 kB / 0.9898 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.7119, allocations: 267.2 kB / 0.9901 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.7119, allocations: 3.984 kB / 0.9901 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.7119, allocations: 0 / 0.9901 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7119, allocations: 0 / 0.9901 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/0.7127, allocations: 0.5981 MB / 0.9906 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.7127, allocations: 64 / 0.9906 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.7129, allocations: 39.97 kB / 0.9907 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.7129, allocations: 0 / 0.9907 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.7129, allocations: 8 kB / 0.9907 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.7129, allocations: 0 / 0.9907 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7129, allocations: 0 / 0.9907 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.7134, allocations: 350.9 kB / 0.991 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.7136, allocations: 120.9 kB / 0.9911 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.7136, allocations: 8 kB / 0.9911 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.7138, allocations: 7.984 kB / 0.9912 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.7139, allocations: 15.98 kB / 0.9912 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.7139, allocations: 16 kB / 0.9912 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001353/0.714, allocations: 149.5 kB / 0.9913 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.714, allocations: 0 / 0.9913 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004908/0.7145, allocations: 131.7 kB / 0.9915 GB, free: 1.516 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * 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.001145/0.7157, allocations: 0.9952 MB / 0.9924 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.7161, allocations: 198.8 kB / 0.9926 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7161, allocations: 0.75 kB / 0.9926 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.7162, allocations: 101.7 kB / 0.9927 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.7168, allocations: 91.86 kB / 0.9928 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.7198, allocations: 2.518 MB / 0.9953 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.7202, allocations: 0.7328 MB / 0.996 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002159/0.7204, allocations: 58.25 kB / 0.996 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.7205, allocations: 59.42 kB / 0.9961 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.7205, allocations: 0 / 0.9961 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.748, allocations: 7.903 MB / 1.004 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/9.032, allocations: 4.062 kB / 1.004 GB, free: 4.809 MB / 0.7325 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_AirProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.88050548901083] Failed to read output from testmodel.py, exit status != 0: 9.162158540973905 9.184800754 8.479386685 Calling exit ...