Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001198/0.001198, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001375/0.001375, allocations: 215.2 kB / 23.04 MB, free: 5.074 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.002362/0.002362, allocations: 288.6 kB / 313.5 MB, free: 2.793 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.16/1.16, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.002689/0.002689, allocations: 91.95 kB / 0.7403 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1707, allocations: 95.39 MB / 0.8335 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002313/0.1731, allocations: 1.303 MB / 0.8347 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1749/0.348, allocations: 150.3 MB / 0.9815 GB, free: 464 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.348, allocations: 0 / 0.9815 GB, free: 464 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.348, allocations: 0 / 0.9815 GB, free: 464 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.049e-05/0.3481, allocations: 7.938 kB / 0.9816 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.3485, allocations: 91.55 kB / 0.9816 GB, free: 364 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.3486, allocations: 39.78 kB / 0.9817 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.3486, allocations: 8 kB / 0.9817 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.408e-05/0.3487, allocations: 16 kB / 0.9817 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.3487, allocations: 19.91 kB / 0.9817 GB, free: 280 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3488, allocations: 4 kB / 0.9817 GB, free: 276 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.349, allocations: 71.83 kB / 0.9818 GB, free: 204 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.349, allocations: 7.984 kB / 0.9818 GB, free: 196 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.349, allocations: 19.92 kB / 0.9818 GB, free: 176 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3492, allocations: 68.05 kB / 0.9819 GB, free: 108 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3492, allocations: 0 / 0.9819 GB, free: 108 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3492, allocations: 0 / 0.9819 GB, free: 108 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3492, allocations: 0 / 0.9819 GB, free: 108 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.3085/0.6577, allocations: 272.8 kB / 0.9821 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6577, allocations: 10.77 kB / 0.9822 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.637e-05/0.6578, allocations: 1.312 kB / 0.9822 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.6578, allocations: 36.7 kB / 0.9822 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.658, allocations: 13.33 kB / 0.9822 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.88e-05/0.6581, allocations: 112.8 kB / 0.9823 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.6581, allocations: 7.281 kB / 0.9823 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.6581, allocations: 12 kB / 0.9823 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.6582, allocations: 53.98 kB / 0.9824 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6582, allocations: 0.75 kB / 0.9824 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.6582, allocations: 0.875 kB / 0.9824 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.6583, allocations: 0.9688 kB / 0.9824 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/0.6583, allocations: 18.45 kB / 0.9824 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.6584, allocations: 134.9 kB / 0.9825 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.939e-05/0.6585, allocations: 52.47 kB / 0.9826 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.6585, allocations: 15.23 kB / 0.9826 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.6585, allocations: 1.359 kB / 0.9826 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.6586, allocations: 39.91 kB / 0.9826 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.6586, allocations: 0 / 0.9826 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0006487/0.6592, allocations: 296.7 kB / 0.9829 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.6592, allocations: 52.38 kB / 0.983 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.763e-05/0.6593, allocations: 92.91 kB / 0.9831 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.6593, allocations: 30.7 kB / 0.9831 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.104e-05/0.6593, allocations: 82.28 kB / 0.9832 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.6593, allocations: 44.2 kB / 0.9832 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.6594, allocations: 26.42 kB / 0.9832 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.6594, allocations: 318.2 kB / 0.9835 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.079e-05/0.6594, allocations: 16.83 kB / 0.9836 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.6595, allocations: 43.56 kB / 0.9836 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-05/0.6596, allocations: 59.91 kB / 0.9837 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.6596, allocations: 0 / 0.9837 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001484/0.6597, allocations: 101.2 kB / 0.9837 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6597, allocations: 5.281 kB / 0.9838 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6597, allocations: 3.531 kB / 0.9838 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.6597, allocations: 2.5 kB / 0.9838 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.6599, allocations: 27.06 kB / 0.9838 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6599, allocations: 2.938 kB / 0.9838 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.6599, allocations: 4.625 kB / 0.9838 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.6599, allocations: 7.203 kB / 0.9838 GB, free: 152.8 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 4.849e-05/0.66, allocations: 117.4 kB / 0.9839 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.66, allocations: 8.359 kB / 0.9839 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.66, allocations: 12.12 kB / 0.9839 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.66, allocations: 4.562 kB / 0.9839 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.66, allocations: 0.6094 kB / 0.9839 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.66, allocations: 5.312 kB / 0.9839 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.233e-05/0.6601, allocations: 140.3 kB / 0.9841 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6601, allocations: 0.7812 kB / 0.9841 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.6602, allocations: 27.69 kB / 0.9841 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6602, allocations: 1.094 kB / 0.9841 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.6602, allocations: 5.078 kB / 0.9841 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6602, allocations: 0.8438 kB / 0.9841 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6602, allocations: 0 / 0.9841 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.6604, allocations: 139.9 kB / 0.9842 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.6604, allocations: 5.594 kB / 0.9842 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.6604, allocations: 8.516 kB / 0.9843 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.6605, allocations: 4.406 kB / 0.9843 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.6606, allocations: 9.578 kB / 0.9843 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.6606, allocations: 6.391 kB / 0.9843 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.512e-05/0.6606, allocations: 76.09 kB / 0.9843 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.6606, allocations: 0.75 kB / 0.9843 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001889/0.6608, allocations: 15.44 kB / 0.9844 GB, free: 152.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0002786/0.661, allocations: 0.6758 MB / 0.985 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.6612, allocations: 54.05 kB / 0.9851 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6612, allocations: 0 / 0.9851 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.6612, allocations: 30.94 kB / 0.9851 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.6614, allocations: 13.17 kB / 0.9851 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.6625, allocations: 1.452 MB / 0.9865 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.039e-05/0.6625, allocations: 0.6847 MB / 0.9872 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.957e-05/0.6626, allocations: 11.94 kB / 0.9872 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.6626, allocations: 20.62 kB / 0.9872 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.6626, allocations: 0 / 0.9872 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.6856, allocations: 1.883 MB / 0.9891 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.19, allocations: 4.688 kB / 0.9891 GB, free: 149.4 MB / 0.7169 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.166121741000097] Failed to read output from testmodel.py, exit status != 0: 11.345393533993047 11.370333749 11.016835687 Calling exit ...