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.001338/0.001338, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001635/0.001635, allocations: 215.9 kB / 22.25 MB, free: 5.121 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.996 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.002627/0.002627, allocations: 290.4 kB / 312.7 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.255/1.255, allocations: 180.6 MB / 0.5369 GB, free: 13.01 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.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: 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.002876/0.002876, allocations: 97.91 kB / 0.7396 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1847, allocations: 95.39 MB / 0.8327 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002491/0.1872, allocations: 1.371 MB / 0.834 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.7102/0.8973, allocations: 151.4 MB / 0.9819 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.8974, allocations: 0.8438 kB / 0.9819 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.149e-05/0.8974, allocations: 4.688 kB / 0.9819 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.101e-05/0.8975, allocations: 17.19 kB / 0.9819 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.8985, allocations: 339.3 kB / 0.9822 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.8987, allocations: 63.95 kB / 0.9823 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.8987, allocations: 3.609 kB / 0.9823 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.805e-05/0.8988, allocations: 32.22 kB / 0.9823 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.8989, allocations: 37.89 kB / 0.9824 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.8989, allocations: 4.75 kB / 0.9824 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008499/0.8997, allocations: 445.2 kB / 0.9828 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.8998, allocations: 17.41 kB / 0.9828 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.8998, allocations: 28.61 kB / 0.9829 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.9002, allocations: 159.4 kB / 0.983 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.9002, allocations: 3.688 kB / 0.983 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9002, allocations: 0 / 0.983 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.9002, allocations: 0.5156 kB / 0.983 GB, free: 3.594 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005583/0.9007, allocations: 314.4 kB / 0.9833 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.9008, allocations: 15.59 kB / 0.9833 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.9008, allocations: 38.05 kB / 0.9834 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003967/0.9012, allocations: 37.47 kB / 0.9834 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/0.9013, allocations: 109.6 kB / 0.9835 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.9013, allocations: 6.719 kB / 0.9835 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.9014, allocations: 17.72 kB / 0.9835 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.9016, allocations: 79.62 kB / 0.9836 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.9016, allocations: 0.8125 kB / 0.9836 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.9016, allocations: 3.203 kB / 0.9836 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.9016, allocations: 2 kB / 0.9836 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.9017, allocations: 48.44 kB / 0.9836 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.9019, allocations: 151 kB / 0.9838 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.9021, allocations: 90.14 kB / 0.9839 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.9021, allocations: 31.17 kB / 0.9839 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.9023, allocations: 23.2 kB / 0.9839 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.9023, allocations: 38.23 kB / 0.984 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.9023, allocations: 0.9375 kB / 0.984 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001252/0.9036, allocations: 479.6 kB / 0.9844 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.9036, allocations: 55.69 kB / 0.9845 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.9037, allocations: 99.12 kB / 0.9846 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.9037, allocations: 31.3 kB / 0.9846 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.9038, allocations: 80.52 kB / 0.9847 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.9038, allocations: 74.31 kB / 0.9848 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.9039, allocations: 38.5 kB / 0.9848 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.904, allocations: 327.1 kB / 0.9851 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.9041, allocations: 33.3 kB / 0.9851 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-05/0.9041, allocations: 74.31 kB / 0.9852 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.9043, allocations: 118.2 kB / 0.9853 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9043, allocations: 3.375 kB / 0.9853 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002264/0.9045, allocations: 162 kB / 0.9855 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.9045, allocations: 8.969 kB / 0.9855 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.9045, allocations: 1 kB / 0.9855 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.9046, allocations: 4.125 kB / 0.9855 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.9047, allocations: 38.56 kB / 0.9855 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.9047, allocations: 2.312 kB / 0.9855 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/0.9048, allocations: 6.656 kB / 0.9855 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.9048, allocations: 11.84 kB / 0.9855 GB, free: 17.95 MB / 0.7325 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 9.775e-05/0.9049, allocations: 125.4 kB / 0.9857 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.9049, allocations: 8.766 kB / 0.9857 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.905, allocations: 16.12 kB / 0.9857 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.905, allocations: 3.438 kB / 0.9857 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.905, allocations: 0 / 0.9857 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.905, allocations: 4.562 kB / 0.9857 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.9051, allocations: 167.6 kB / 0.9859 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9051, allocations: 0 / 0.9859 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.9053, allocations: 38.62 kB / 0.9859 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9053, allocations: 0.9688 kB / 0.9859 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.9053, allocations: 5.688 kB / 0.9859 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9054, allocations: 3.969 kB / 0.9859 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9054, allocations: 7.875 kB / 0.9859 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.9057, allocations: 216.1 kB / 0.9861 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.9057, allocations: 17.61 kB / 0.9861 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.9057, allocations: 6.094 kB / 0.9861 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.9058, allocations: 8.734 kB / 0.9861 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.9059, allocations: 11.28 kB / 0.9862 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.9059, allocations: 8.281 kB / 0.9862 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.506e-05/0.9059, allocations: 82.47 kB / 0.9862 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9059, allocations: 3 kB / 0.9862 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002271/0.9062, allocations: 25.44 kB / 0.9863 GB, free: 17.51 MB / 0.7325 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.0006188/0.9068, allocations: 0.7502 MB / 0.987 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.907, allocations: 102.5 kB / 0.9871 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.907, allocations: 1.906 kB / 0.9871 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.943e-05/0.9071, allocations: 50.05 kB / 0.9871 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.9073, allocations: 19.41 kB / 0.9872 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.9093, allocations: 1.818 MB / 0.9889 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.9096, allocations: 0.7073 MB / 0.9896 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.9097, allocations: 25.36 kB / 0.9897 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.9098, allocations: 22.34 kB / 0.9897 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.9098, allocations: 0 / 0.9897 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.9418, allocations: 2.662 MB / 0.9923 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.06, allocations: 13.03 kB / 0.9923 GB, free: 14.59 MB / 0.7325 GB " [Timeout remaining time 648] (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: 16.300074879080057] Failed to read output from testmodel.py, exit status != 0: 12.164626298937947 12.185727393 11.281952103 Calling exit ...