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.001581/0.001581, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002002/0.002002, allocations: 222.7 kB / 22.26 MB, free: 5.215 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.988 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.002693/0.002693, allocations: 286.4 kB / 312.7 MB, free: 2.805 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.266/1.266, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",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.005006/0.005006, allocations: 102.4 kB / 0.7396 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2177, allocations: 95.38 MB / 0.8328 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.7095/0.9272, allocations: 152.4 MB / 0.9816 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004174/0.9314, allocations: 3.653 MB / 0.9852 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.9315, allocations: 4.875 kB / 0.9852 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.932, allocations: 66.59 kB / 0.9853 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.9323, allocations: 137.9 kB / 0.9854 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.9348, allocations: 1.061 MB / 0.9864 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.9353, allocations: 323.8 kB / 0.9867 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.9354, allocations: 10.48 kB / 0.9868 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004735/0.9358, allocations: 205.7 kB / 0.9869 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.9361, allocations: 138.2 kB / 0.9871 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.9361, allocations: 12.06 kB / 0.9871 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.9388, allocations: 1.323 MB / 0.9884 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.939, allocations: 72.52 kB / 0.9885 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.9391, allocations: 110.2 kB / 0.9886 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.9405, allocations: 0.6435 MB / 0.9892 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9405, allocations: 3.828 kB / 0.9892 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9405, allocations: 0.9688 kB / 0.9892 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.9405, allocations: 0 / 0.9892 GB, free: 3.535 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.00149/0.942, allocations: 0.5238 MB / 0.9897 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.942, allocations: 11.66 kB / 0.9897 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.593e-05/0.9421, allocations: 65.95 kB / 0.9898 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.9433, allocations: 132.1 kB / 0.9899 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.9436, allocations: 166.8 kB / 0.9901 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.9436, allocations: 11.7 kB / 0.9901 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.9437, allocations: 20.62 kB / 0.9901 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.9442, allocations: 343.1 kB / 0.9904 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.9442, allocations: 5.781 kB / 0.9904 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.9443, allocations: 11.28 kB / 0.9904 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.9443, allocations: 16.94 kB / 0.9905 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.9448, allocations: 328 kB / 0.9908 GB, free: 18.91 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.001785/0.9466, allocations: 1.076 MB / 0.9918 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.9471, allocations: 183.3 kB / 0.992 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.9472, allocations: 72.69 kB / 0.9921 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003706/0.9476, allocations: 74.27 kB / 0.9921 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.9477, allocations: 42.62 kB / 0.9922 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.674e-06/0.9477, allocations: 0.9375 kB / 0.9922 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0006349/0.9483, allocations: 265.7 kB / 0.9924 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.9483, allocations: 54.97 kB / 0.9925 GB, free: 18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.9485, allocations: 205.3 kB / 0.9927 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.9486, allocations: 33.08 kB / 0.9927 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.9487, allocations: 147.9 kB / 0.9928 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.9487, allocations: 78.47 kB / 0.9929 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.9488, allocations: 54.77 kB / 0.993 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.949, allocations: 329.2 kB / 0.9933 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.9491, allocations: 72.73 kB / 0.9934 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.9492, allocations: 167.7 kB / 0.9935 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.9495, allocations: 252.7 kB / 0.9938 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9495, allocations: 0 / 0.9938 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004586/0.95, allocations: 293.3 kB / 0.994 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.95, allocations: 8.594 kB / 0.994 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.95, allocations: 3.312 kB / 0.994 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.95, allocations: 4.391 kB / 0.9941 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.9503, allocations: 59.34 kB / 0.9941 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.9503, allocations: 11.92 kB / 0.9941 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.9504, allocations: 28.28 kB / 0.9941 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.9505, allocations: 16.95 kB / 0.9942 GB, free: 17.08 MB / 0.7325 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.0001319/0.9506, allocations: 136.6 kB / 0.9943 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.9507, allocations: 28.2 kB / 0.9943 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000513/0.9512, allocations: 270.1 kB / 0.9946 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.9513, allocations: 7.219 kB / 0.9946 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.9513, allocations: 5.312 kB / 0.9946 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9513, allocations: 2.531 kB / 0.9946 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008179/0.9521, allocations: 0.5628 MB / 0.9951 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.9521, allocations: 4.281 kB / 0.9951 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.9523, allocations: 41.97 kB / 0.9952 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.9523, allocations: 2.312 kB / 0.9952 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.9523, allocations: 3.984 kB / 0.9952 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.9523, allocations: 3.188 kB / 0.9952 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9523, allocations: 0.875 kB / 0.9952 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.953, allocations: 353.1 kB / 0.9955 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.9531, allocations: 45.28 kB / 0.9956 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.9532, allocations: 10.48 kB / 0.9956 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.9534, allocations: 11.05 kB / 0.9956 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.9534, allocations: 16.17 kB / 0.9956 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.9535, allocations: 14.77 kB / 0.9956 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001551/0.9536, allocations: 152.3 kB / 0.9958 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9536, allocations: 1.656 kB / 0.9958 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006269/0.9543, allocations: 122.6 kB / 0.9959 GB, free: 16.35 MB / 0.7325 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.001221/0.9555, allocations: 1.001 MB / 0.9969 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004373/0.9559, allocations: 199.8 kB / 0.9971 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9559, allocations: 0.625 kB / 0.9971 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.9561, allocations: 100.5 kB / 0.9972 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.9568, allocations: 95 kB / 0.9972 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.9603, allocations: 2.506 MB / 0.9997 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.9608, allocations: 0.7422 MB / 1 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003334/0.9612, allocations: 60.28 kB / 1 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.9613, allocations: 58.27 kB / 1.001 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.9613, allocations: 1.5 kB / 1.001 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04901/1.01, allocations: 8.14 MB / 1.008 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.48, allocations: 14.73 kB / 1.008 GB, free: 12.77 MB / 0.7325 GB " [Timeout remaining time 647] (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: 16.754398689139634] Failed to read output from testmodel.py, exit status != 0: 12.591578294057399 12.604042453 11.660946101 Calling exit ...