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.001112/0.001112, allocations: 73.88 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001231/0.001231, allocations: 169 kB / 24.05 MB, free: 452 kB / 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 1.027/1.027, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.002077/0.002077, allocations: 226.8 kB / 261.3 MB, free: 12.68 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.7893/0.7893, allocations: 138.4 MB / 456.3 MB, free: 1.508 MB / 362.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: translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.5563 GB, free: 396 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.769e-05, allocations: 2.312 kB / 0.5563 GB, free: 392 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002756/0.002784, allocations: 1.383 MB / 0.5577 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3338/0.3366, allocations: 141.2 MB / 0.6956 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.3367, allocations: 0 / 0.6956 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.578e-05/0.3367, allocations: 11.92 kB / 0.6956 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.3368, allocations: 10.83 kB / 0.6956 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.3375, allocations: 345 kB / 0.6959 GB, free: 13 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.303e-05/0.3376, allocations: 66.58 kB / 0.696 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.323e-05/0.3376, allocations: 1.969 kB / 0.696 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.892e-05/0.3376, allocations: 47.66 kB / 0.6961 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.3377, allocations: 29.53 kB / 0.6961 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3377, allocations: 2.906 kB / 0.6961 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004645/0.3382, allocations: 378.5 kB / 0.6964 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.3383, allocations: 13.7 kB / 0.6965 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.3383, allocations: 26.5 kB / 0.6965 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.3385, allocations: 171 kB / 0.6967 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3385, allocations: 4 kB / 0.6967 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3385, allocations: 0 / 0.6967 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3385, allocations: 0 / 0.6967 GB, free: 12.59 MB / 0.5105 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.0003171/0.3388, allocations: 417.3 kB / 0.6971 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3389, allocations: 11.44 kB / 0.6971 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.3391, allocations: 59.89 kB / 0.6971 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.219e-05/0.3392, allocations: 111.6 kB / 0.6972 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3392, allocations: 7.562 kB / 0.6972 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3392, allocations: 13.84 kB / 0.6972 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.3393, allocations: 197.1 kB / 0.6974 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3394, allocations: 7.922 kB / 0.6974 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.3394, allocations: 0 / 0.6974 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3394, allocations: 2.938 kB / 0.6974 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.182e-05/0.3394, allocations: 33.55 kB / 0.6975 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.3395, allocations: 125.1 kB / 0.6976 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.3396, allocations: 75.11 kB / 0.6977 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.3396, allocations: 27.67 kB / 0.6977 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.3398, allocations: 27.98 kB / 0.6977 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.3398, allocations: 37.39 kB / 0.6978 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.3398, allocations: 0 / 0.6978 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.00065/0.3404, allocations: 434.7 kB / 0.6982 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.3404, allocations: 51.41 kB / 0.6982 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.389e-05/0.3405, allocations: 161.9 kB / 0.6984 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.3405, allocations: 29.7 kB / 0.6984 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.568e-05/0.3405, allocations: 127.2 kB / 0.6985 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.3405, allocations: 75.36 kB / 0.6986 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.3406, allocations: 43.36 kB / 0.6986 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.3406, allocations: 0.4923 MB / 0.6991 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.3407, allocations: 15.98 kB / 0.6991 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.3407, allocations: 69.08 kB / 0.6992 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.3408, allocations: 86.7 kB / 0.6993 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3408, allocations: 4 kB / 0.6993 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001074/0.3409, allocations: 141.5 kB / 0.6994 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.3409, allocations: 4 kB / 0.6994 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3409, allocations: 7.938 kB / 0.6994 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.3409, allocations: 0 / 0.6994 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.341, allocations: 39.92 kB / 0.6995 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.341, allocations: 0 / 0.6995 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/0.341, allocations: 8 kB / 0.6995 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.341, allocations: 4 kB / 0.6995 GB, free: 9.523 MB / 0.5105 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 5.016e-05/0.3411, allocations: 168.5 kB / 0.6996 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.3411, allocations: 23.83 kB / 0.6997 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.3411, allocations: 20.45 kB / 0.6997 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3411, allocations: 4 kB / 0.6997 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3411, allocations: 0 / 0.6997 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3411, allocations: 0 / 0.6997 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.647e-05/0.3412, allocations: 117.2 kB / 0.6998 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3412, allocations: 3.984 kB / 0.6998 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.772e-05/0.3413, allocations: 35.98 kB / 0.6998 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3413, allocations: 3.938 kB / 0.6998 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3413, allocations: 4 kB / 0.6998 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3413, allocations: 4 kB / 0.6999 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3413, allocations: 0 / 0.6999 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.3414, allocations: 178 kB / 0.7 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.3415, allocations: 15.94 kB / 0.7 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3415, allocations: 7.938 kB / 0.7 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.734e-05/0.3415, allocations: 7.984 kB / 0.7001 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.3416, allocations: 11.98 kB / 0.7001 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3416, allocations: 4 kB / 0.7001 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.361e-05/0.3416, allocations: 119.2 kB / 0.7002 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3416, allocations: 0 / 0.7002 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001375/0.3417, allocations: 35.98 kB / 0.7002 GB, free: 8.719 MB / 0.5105 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 9.143e-05/0.3418, allocations: 110.5 kB / 0.7003 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.537e-05/0.3419, allocations: 80.58 kB / 0.7004 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.3419, allocations: 0 / 0.7004 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.3419, allocations: 54.17 kB / 0.7004 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.3421, allocations: 33.31 kB / 0.7005 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.3426, allocations: 407.9 kB / 0.7009 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.557e-05/0.3427, allocations: 70.16 kB / 0.7009 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.223e-05/0.3427, allocations: 24.62 kB / 0.701 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.3428, allocations: 114.1 kB / 0.7011 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.3428, allocations: 0 / 0.7011 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of Templates: time 0.003052/0.3459, allocations: 1.644 MB / 0.7027 GB, free: 6.219 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.12602811306715]