Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.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.000718/0.000718, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007113/0.0007113, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8583/0.8583, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.00155/0.00155, allocations: 234.6 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6756/0.6756, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 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.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.6462 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.004e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.001782/0.001802, allocations: 1.34 MB / 0.6476 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.324/0.3258, allocations: 130.1 MB / 0.7746 GB, free: 7.738 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.3258, allocations: 0 / 0.7746 GB, free: 7.738 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.3259, allocations: 7.922 kB / 0.7746 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.924e-05/0.326, allocations: 15.86 kB / 0.7746 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007274/0.3267, allocations: 326.3 kB / 0.7749 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.655e-05/0.3268, allocations: 67.7 kB / 0.775 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.3268, allocations: 7.984 kB / 0.775 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.038e-05/0.3269, allocations: 39.95 kB / 0.775 GB, free: 7.281 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.545e-05/0.327, allocations: 35.88 kB / 0.7751 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.327, allocations: 4 kB / 0.7751 GB, free: 7.242 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.3275, allocations: 382.5 kB / 0.7754 GB, free: 6.867 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.3275, allocations: 19.91 kB / 0.7755 GB, free: 6.848 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.3276, allocations: 16 kB / 0.7755 GB, free: 6.832 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3278, allocations: 163.5 kB / 0.7756 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3278, allocations: 4 kB / 0.7756 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3278, allocations: 0 / 0.7756 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3278, allocations: 0 / 0.7756 GB, free: 6.668 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003539/0.3282, allocations: 317 kB / 0.7759 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3282, allocations: 9.938 kB / 0.7759 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.3282, allocations: 42.75 kB / 0.776 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.3285, allocations: 34.27 kB / 0.776 GB, free: 6.242 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.147e-05/0.3285, allocations: 118.2 kB / 0.7761 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3286, allocations: 384 / 0.7761 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.3286, allocations: 20.08 kB / 0.7762 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3288, allocations: 206.2 kB / 0.7763 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3288, allocations: 4.641 kB / 0.7764 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3288, allocations: 0 / 0.7764 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3288, allocations: 4 kB / 0.7764 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.439e-05/0.3288, allocations: 43.95 kB / 0.7764 GB, free: 5.793 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.329, allocations: 152.7 kB / 0.7765 GB, free: 5.602 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3291, allocations: 86.73 kB / 0.7766 GB, free: 5.508 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.3291, allocations: 36.94 kB / 0.7767 GB, free: 5.469 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.3293, allocations: 24.64 kB / 0.7767 GB, free: 5.445 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3293, allocations: 30.56 kB / 0.7767 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.3293, allocations: 0 / 0.7767 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.000838/0.3301, allocations: 494.8 kB / 0.7772 GB, free: 4.887 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.3302, allocations: 51.41 kB / 0.7772 GB, free: 4.824 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.339e-05/0.3302, allocations: 93.86 kB / 0.7773 GB, free: 4.723 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.3302, allocations: 29.7 kB / 0.7774 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.088e-05/0.3302, allocations: 88.36 kB / 0.7774 GB, free: 4.602 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.3303, allocations: 71.38 kB / 0.7775 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.3303, allocations: 37.84 kB / 0.7775 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.3304, allocations: 330.8 kB / 0.7779 GB, free: 4.156 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.661e-05/0.3304, allocations: 32.59 kB / 0.7779 GB, free: 4.125 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.3305, allocations: 76.28 kB / 0.778 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.3306, allocations: 116.4 kB / 0.7781 GB, free: 3.918 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3306, allocations: 0 / 0.7781 GB, free: 3.918 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001431/0.3308, allocations: 159.5 kB / 0.7782 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3308, allocations: 4 kB / 0.7782 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3308, allocations: 0 / 0.7782 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3308, allocations: 4 kB / 0.7782 GB, free: 3.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3309, allocations: 39.98 kB / 0.7783 GB, free: 3.711 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3309, allocations: 4 kB / 0.7783 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.3309, allocations: 7.938 kB / 0.7783 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.3309, allocations: 11.52 kB / 0.7783 GB, free: 3.691 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 6.904e-05/0.331, allocations: 123.1 kB / 0.7784 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.331, allocations: 14.2 kB / 0.7784 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.3311, allocations: 20.45 kB / 0.7784 GB, free: 3.531 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3311, allocations: 0 / 0.7784 GB, free: 3.531 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3311, allocations: 0 / 0.7784 GB, free: 3.531 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3311, allocations: 4 kB / 0.7784 GB, free: 3.527 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.829e-05/0.3312, allocations: 152.7 kB / 0.7786 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3312, allocations: 8 kB / 0.7786 GB, free: 3.328 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.3313, allocations: 35.92 kB / 0.7786 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3313, allocations: 3.984 kB / 0.7786 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3313, allocations: 8 kB / 0.7786 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3313, allocations: 3.938 kB / 0.7786 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3313, allocations: 0 / 0.7786 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.3315, allocations: 210.1 kB / 0.7788 GB, free: 3.055 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.3315, allocations: 19.94 kB / 0.7789 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3316, allocations: 4 kB / 0.7789 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.833e-05/0.3316, allocations: 7.984 kB / 0.7789 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.3316, allocations: 15.98 kB / 0.7789 GB, free: 3.008 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.3316, allocations: 9.125 kB / 0.7789 GB, free: 3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.139e-05/0.3317, allocations: 79.27 kB / 0.779 GB, free: 2.922 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.3317, allocations: 0 / 0.779 GB, free: 2.922 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001401/0.3318, allocations: 32 kB / 0.779 GB, free: 2.891 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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): 19 * 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.0003941/0.3322, allocations: 0.7438 MB / 0.7797 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.3323, allocations: 99.91 kB / 0.7798 GB, free: 2.023 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3323, allocations: 6.719 kB / 0.7798 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.3324, allocations: 47.92 kB / 0.7799 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.3326, allocations: 16.73 kB / 0.7799 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.3338, allocations: 1.723 MB / 0.7816 GB, free: 152 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.741e-05/0.3339, allocations: 81.56 kB / 0.7817 GB, free: 52 kB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.883e-05/0.334, allocations: 28.61 kB / 0.7817 GB, free: 24 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.334, allocations: 24.5 kB / 0.7817 GB, free: 4 kB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/0.334, allocations: 4 kB / 0.7817 GB, free: 0 / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.3488, allocations: 3.14 MB / 0.7848 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.345/6.694, allocations: 4.25 kB / 0.7848 GB, free: 13.04 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.186694014817476] Failed to read output from testmodel.py, exit status != 0: 6.77428387477994 6.78346911 6.453551354 Calling exit ...