Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00211/0.00211, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002773/0.002772, allocations: 192.9 kB / 16.13 MB, free: 6.648 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.00115, allocations: 71.84 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7012/0.7024, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004169/0.7066, allocations: 2.42 MB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006957/0.7136, allocations: 3.912 MB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.714, allocations: 7.938 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006476/0.7205, allocations: 3.177 MB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008931/0.7214, allocations: 366.7 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.7225, allocations: 459.2 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.005051/0.7276, allocations: 3.58 MB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.7277, allocations: 48.72 kB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.728, allocations: 187.2 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.7283, allocations: 235.1 kB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.7284, allocations: 8 kB / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.7294, allocations: 0.6043 MB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.7296, allocations: 195.4 kB / 1.031 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.7298, allocations: 246.5 kB / 1.032 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.7308, allocations: 0.9539 MB / 1.033 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7308, allocations: 0 / 1.033 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.31e-07/0.7308, allocations: 3.938 kB / 1.033 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.7308, allocations: 0 / 1.033 GB, free: 2.363 MB / 0.7794 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.00153/0.7324, allocations: 0.9175 MB / 1.033 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.7324, allocations: 12.02 kB / 1.034 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008161/0.7333, allocations: 156 kB / 1.034 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.7348, allocations: 1.144 MB / 1.035 GB, free: 48 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.7349, allocations: 16 kB / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.7349, allocations: 12 kB / 1.035 GB, free: 20 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.7354, allocations: 175.4 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.7354, allocations: 0 / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.7355, allocations: 4 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.7355, allocations: 4 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006329/0.7361, allocations: 179.8 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.7373, allocations: 0.7339 MB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008639/0.7382, allocations: 182.6 kB / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.7385, allocations: 80.8 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.7385, allocations: 0 / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.7386, allocations: 38.56 kB / 1.036 GB, free: 14.56 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.7386, allocations: 0 / 1.036 GB, free: 14.56 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.001001/0.7396, allocations: 313 kB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.7396, allocations: 55.34 kB / 1.036 GB, free: 14.18 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009404/0.7406, allocations: 0.7774 MB / 1.037 GB, free: 13.39 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.7406, allocations: 37.64 kB / 1.037 GB, free: 13.35 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.7408, allocations: 244.5 kB / 1.038 GB, free: 13.11 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.7409, allocations: 39.53 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.7411, allocations: 166 kB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.7413, allocations: 370.7 kB / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/0.7418, allocations: 295.3 kB / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.7424, allocations: 420.3 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.7435, allocations: 0.6168 MB / 1.039 GB, free: 11.13 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7435, allocations: 0 / 1.039 GB, free: 11.13 MB / 0.795 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001442/0.7449, allocations: 0.8008 MB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.745, allocations: 8 kB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.745, allocations: 0 / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.745, allocations: 11.98 kB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/0.7458, allocations: 128 kB / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006175/0.7464, allocations: 0.6249 MB / 1.041 GB, free: 9.531 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.7468, allocations: 71.44 kB / 1.041 GB, free: 9.461 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.7469, allocations: 24 kB / 1.041 GB, free: 9.438 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007151/0.7476, allocations: 473.5 kB / 1.041 GB, free: 8.973 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005775/0.7482, allocations: 412.3 kB / 1.042 GB, free: 8.527 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001005/0.7492, allocations: 0.608 MB / 1.042 GB, free: 7.879 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.416e-06/0.7492, allocations: 0 / 1.042 GB, free: 7.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.0013/0.7505, allocations: 0.7796 MB / 1.043 GB, free: 7.09 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.7505, allocations: 8.344 kB / 1.043 GB, free: 7.082 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.7506, allocations: 8 kB / 1.043 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.7506, allocations: 4 kB / 1.043 GB, free: 7.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.7511, allocations: 127.8 kB / 1.043 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7511, allocations: 7.984 kB / 1.043 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.7516, allocations: 76.06 kB / 1.043 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.7516, allocations: 23.98 kB / 1.043 GB, free: 6.84 MB / 0.795 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.0001904/0.7518, allocations: 204.1 kB / 1.044 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.7519, allocations: 51.25 kB / 1.044 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007385/0.7526, allocations: 251.1 kB / 1.044 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.7527, allocations: 4.094 kB / 1.044 GB, free: 6.324 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7527, allocations: 7.875 kB / 1.044 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7527, allocations: 4 kB / 1.044 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.7532, allocations: 377.4 kB / 1.044 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7532, allocations: 0 / 1.044 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.7535, allocations: 51.95 kB / 1.044 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.7535, allocations: 0 / 1.044 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.7536, allocations: 4 kB / 1.044 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003478/0.7539, allocations: 0.6055 MB / 1.045 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.7539, allocations: 3.938 kB / 1.045 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.7546, allocations: 334.8 kB / 1.045 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.7548, allocations: 164.2 kB / 1.045 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.7549, allocations: 3.938 kB / 1.045 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.7552, allocations: 27.97 kB / 1.045 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.7553, allocations: 11.98 kB / 1.045 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.7553, allocations: 0 / 1.045 GB, free: 4.641 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006076/0.7559, allocations: 0.5224 MB / 1.046 GB, free: 4.121 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.756, allocations: 0 / 1.046 GB, free: 4.121 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009316/0.7569, allocations: 299.8 kB / 1.046 GB, free: 3.828 MB / 0.795 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.0006745/0.7576, allocations: 342.9 kB / 1.047 GB, free: 3.484 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.7598, allocations: 0.8842 MB / 1.047 GB, free: 2.602 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7598, allocations: 0 / 1.047 GB, free: 2.602 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.7602, allocations: 108 kB / 1.048 GB, free: 2.496 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008425/0.761, allocations: 190.9 kB / 1.048 GB, free: 2.316 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.7639, allocations: 1.22 MB / 1.049 GB, free: 1.066 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.7645, allocations: 0.9052 MB / 1.05 GB, free: 136 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006011/0.7651, allocations: 172.4 kB / 1.05 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.7653, allocations: 51.42 kB / 1.05 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of SimCode: time 1.362e-06/0.7653, allocations: 4 kB / 1.05 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of Templates: time 0.01975/0.7851, allocations: 11.13 MB / 1.061 GB, free: 4.902 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)