Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.PEle|eff.dp_in|eff.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.PEle|eff.dp_in|eff.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 102.9 kB / 16.35 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 196.2 kB / 17.3 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.465/2.465, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.52 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2749, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003864/0.2788, allocations: 2.386 MB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005835/0.2847, allocations: 3.803 MB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.285, allocations: 11.94 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006088/0.2912, allocations: 3.213 MB / 1.036 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.2922, allocations: 402.5 kB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.2933, allocations: 0.5146 MB / 1.037 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004701/0.298, allocations: 3.3 MB / 1.04 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.2982, allocations: 40.73 kB / 1.04 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/0.2985, allocations: 207.3 kB / 1.04 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.2989, allocations: 207.1 kB / 1.04 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.299, allocations: 20 kB / 1.04 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009272/0.2999, allocations: 0.5694 MB / 1.041 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.3001, allocations: 211.4 kB / 1.041 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.3004, allocations: 254.5 kB / 1.041 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.3016, allocations: 0.958 MB / 1.042 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3016, allocations: 0 / 1.042 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.143e-06/0.3017, allocations: 3.938 kB / 1.042 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.3017, allocations: 0 / 1.042 GB, free: 1.969 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00166/0.3033, allocations: 0.9214 MB / 1.043 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3034, allocations: 12.03 kB / 1.043 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.3044, allocations: 156 kB / 1.043 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.3071, allocations: 1.144 MB / 1.045 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.3072, allocations: 11.94 kB / 1.045 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.3073, allocations: 12 kB / 1.045 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/0.308, allocations: 171.4 kB / 1.045 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.308, allocations: 4 kB / 1.045 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.3081, allocations: 8 kB / 1.045 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3081, allocations: 3.984 kB / 1.045 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009734/0.3091, allocations: 171.8 kB / 1.045 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.3113, allocations: 0.7184 MB / 1.046 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.3126, allocations: 182.6 kB / 1.046 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.313, allocations: 80.8 kB / 1.046 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.3131, allocations: 3.938 kB / 1.046 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3131, allocations: 30.56 kB / 1.046 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.615e-06/0.3131, allocations: 0 / 1.046 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001595/0.3147, allocations: 312.7 kB / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.3148, allocations: 55.39 kB / 1.046 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.3164, allocations: 0.7734 MB / 1.047 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3164, allocations: 25.7 kB / 1.047 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.3167, allocations: 260.4 kB / 1.047 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.3168, allocations: 35.55 kB / 1.047 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.317, allocations: 158.1 kB / 1.047 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3172, allocations: 374.8 kB / 1.048 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006198/0.3178, allocations: 291.4 kB / 1.048 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008509/0.3187, allocations: 416.3 kB / 1.049 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.3202, allocations: 0.6207 MB / 1.049 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.3202, allocations: 0 / 1.049 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001999/0.3222, allocations: 0.7934 MB / 1.05 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.3223, allocations: 8 kB / 1.05 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.3223, allocations: 4 kB / 1.05 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.3223, allocations: 4.094 kB / 1.05 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.3234, allocations: 131.7 kB / 1.05 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000811/0.3242, allocations: 0.633 MB / 1.051 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/0.3249, allocations: 75.91 kB / 1.051 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.325, allocations: 23.98 kB / 1.051 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001101/0.3261, allocations: 477.5 kB / 1.051 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009199/0.3271, allocations: 408.3 kB / 1.052 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001376/0.3285, allocations: 0.6079 MB / 1.052 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/0.3285, allocations: 4 kB / 1.052 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001915/0.3304, allocations: 0.7721 MB / 1.053 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3304, allocations: 8 kB / 1.053 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3304, allocations: 0 / 1.053 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.3305, allocations: 8 kB / 1.053 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000803/0.3313, allocations: 127.9 kB / 1.053 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.3313, allocations: 8 kB / 1.053 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/0.332, allocations: 72.05 kB / 1.053 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/0.3321, allocations: 20 kB / 1.053 GB, free: 6.496 MB / 0.8262 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 (55): * Single equations (assignments): 52 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002111/0.3323, allocations: 204.1 kB / 1.053 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.3325, allocations: 55.25 kB / 1.053 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009773/0.3334, allocations: 242.9 kB / 1.054 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3335, allocations: 0 / 1.054 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.3335, allocations: 3.938 kB / 1.054 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.3335, allocations: 4 kB / 1.054 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007906/0.3343, allocations: 377.4 kB / 1.054 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3343, allocations: 0 / 1.054 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.3347, allocations: 55.95 kB / 1.054 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.3348, allocations: 4 kB / 1.054 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.3348, allocations: 4 kB / 1.054 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005419/0.3353, allocations: 0.6054 MB / 1.055 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3353, allocations: 3.938 kB / 1.055 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009132/0.3363, allocations: 342.9 kB / 1.055 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.3366, allocations: 164.2 kB / 1.055 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.3367, allocations: 0 / 1.055 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.3372, allocations: 27.95 kB / 1.055 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.3372, allocations: 8 kB / 1.055 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.3373, allocations: 7.984 kB / 1.055 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001022/0.3383, allocations: 0.5185 MB / 1.056 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3383, allocations: 0 / 1.056 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001459/0.3398, allocations: 295.9 kB / 1.056 GB, free: 3.488 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/0.3409, allocations: 332 kB / 1.056 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003045/0.3439, allocations: 0.8839 MB / 1.057 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3439, allocations: 0 / 1.057 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/0.3445, allocations: 100.4 kB / 1.057 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.3458, allocations: 214 kB / 1.057 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.3497, allocations: 1.08 MB / 1.059 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/0.3505, allocations: 0.909 MB / 1.059 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008189/0.3513, allocations: 172.4 kB / 1.06 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.3516, allocations: 51.41 kB / 1.06 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of SimCode: time 9.32e-07/0.3516, allocations: 4 kB / 1.06 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.02934/0.3809, allocations: 11.53 MB / 1.071 GB, free: 4.293 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)