Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y") translateModel(IBPSA.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008331/0.000833, allocations: 92.05 kB / 16.67 MB, free: 6.594 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.001012/0.001012, allocations: 185.1 kB / 17.58 MB, free: 6.188 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.358/1.358, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7361/0.7361, allocations: 115.5 MB / 408.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4445, allocations: 77.52 MB / 0.5606 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.ClosedLoop_y): time 0.6462/1.091, allocations: 201.1 MB / 0.7569 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02222/1.113, allocations: 15.38 MB / 0.7719 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/1.116, allocations: 51.16 kB / 0.772 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01177/1.128, allocations: 5.571 MB / 0.7774 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007547/1.135, allocations: 2.402 MB / 0.7798 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004547/1.14, allocations: 1.437 MB / 0.7812 GB, free: 1.664 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.08333333333333334, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01521/1.155, allocations: 10.45 MB / 0.7914 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/1.157, allocations: 1.17 MB / 0.7925 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004889/1.162, allocations: 1.749 MB / 0.7942 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/1.165, allocations: 1.196 MB / 0.7954 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003714/1.166, allocations: 66.59 kB / 0.7955 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006079/1.172, allocations: 2.921 MB / 0.7983 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009739/1.173, allocations: 0.6261 MB / 0.7989 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00169/1.175, allocations: 0.9664 MB / 0.7999 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004455/1.179, allocations: 2.85 MB / 0.8027 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.179, allocations: 0 / 0.8027 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.906e-06/1.179, allocations: 0 / 0.8027 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.912e-05/1.179, allocations: 1.969 kB / 0.8027 GB, free: 16.16 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004354/1.183, allocations: 2.195 MB / 0.8048 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.184, allocations: 8.562 kB / 0.8048 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004081/1.188, allocations: 0.641 MB / 0.8054 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004606/1.192, allocations: 2.123 MB / 0.8075 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/1.192, allocations: 85.77 kB / 0.8076 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/1.193, allocations: 108.4 kB / 0.8077 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/1.195, allocations: 1.304 MB / 0.809 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/1.195, allocations: 0 / 0.809 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.195, allocations: 47.64 kB / 0.809 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/1.195, allocations: 34.25 kB / 0.8091 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/1.198, allocations: 1.051 MB / 0.8101 GB, free: 12.92 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008715/1.206, allocations: 5.478 MB / 0.8154 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/1.209, allocations: 0.9787 MB / 0.8164 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/1.21, allocations: 0.4967 MB / 0.8169 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/1.21, allocations: 108.1 kB / 0.817 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/1.211, allocations: 0.6069 MB / 0.8176 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007867/1.212, allocations: 82.52 kB / 0.8176 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 3.957e-06/1.212, allocations: 4 kB / 0.8176 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.003973/1.216, allocations: 1.505 MB / 0.8191 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/1.216, allocations: 63.25 kB / 0.8192 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/1.219, allocations: 1.704 MB / 0.8208 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/1.219, allocations: 46.05 kB / 0.8209 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/1.219, allocations: 0.7742 MB / 0.8216 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/1.22, allocations: 248.4 kB / 0.8219 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/1.22, allocations: 140.7 kB / 0.822 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.22, allocations: 364.1 kB / 0.8224 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/1.221, allocations: 0.7685 MB / 0.8231 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/1.223, allocations: 1.059 MB / 0.8241 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/1.226, allocations: 1.731 MB / 0.8258 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/1.226, allocations: 3.344 kB / 0.8258 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003936/1.23, allocations: 2.173 MB / 0.828 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/1.23, allocations: 292.5 kB / 0.8282 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.23, allocations: 4.719 kB / 0.8282 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/1.23, allocations: 149.3 kB / 0.8284 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/1.231, allocations: 279.2 kB / 0.8287 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009816/1.232, allocations: 1.241 MB / 0.8299 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/1.234, allocations: 122.9 kB / 0.83 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/1.234, allocations: 67.17 kB / 0.83 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/1.234, allocations: 4 kB / 0.83 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003319/1.238, allocations: 1.794 MB / 0.8318 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.238, allocations: 12 kB / 0.8318 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/1.238, allocations: 187 kB / 0.832 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.239, allocations: 253.8 kB / 0.8322 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004738/1.244, allocations: 3.112 MB / 0.8353 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/1.246, allocations: 115.9 kB / 0.8354 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/1.246, allocations: 59.86 kB / 0.8354 GB, free: 15.79 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 126 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001116/1.247, allocations: 0.5638 MB / 0.836 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/1.248, allocations: 165.8 kB / 0.8361 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/1.25, allocations: 1.149 MB / 0.8373 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/1.251, allocations: 8 kB / 0.8373 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.251, allocations: 4 kB / 0.8373 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002161/1.253, allocations: 1.008 MB / 0.8383 GB, free: 12.9 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005317/1.258, allocations: 2.638 MB / 0.8408 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/1.258, allocations: 0 / 0.8408 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009614/1.259, allocations: 176.8 kB / 0.841 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002939/1.259, allocations: 98.3 kB / 0.8411 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/1.259, allocations: 23.98 kB / 0.8411 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007388/1.26, allocations: 1.219 MB / 0.8423 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.26, allocations: 4.031 kB / 0.8423 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/1.264, allocations: 1.701 MB / 0.844 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008737/1.265, allocations: 326.9 kB / 0.8443 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/1.265, allocations: 12 kB / 0.8443 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.266, allocations: 103.8 kB / 0.8444 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.266, allocations: 55.34 kB / 0.8445 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.169e-05/1.266, allocations: 36.16 kB / 0.8445 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001726/1.268, allocations: 1.143 MB / 0.8456 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/1.268, allocations: 0 / 0.8456 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002748/1.271, allocations: 0.9786 MB / 0.8466 GB, free: 4.273 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001427/1.272, allocations: 0.5739 MB / 0.8471 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005114/1.277, allocations: 2.574 MB / 0.8496 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.277, allocations: 4 kB / 0.8496 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/1.279, allocations: 493.5 kB / 0.8501 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/1.283, allocations: 0.8057 MB / 0.8509 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006265/1.289, allocations: 3.987 MB / 0.8548 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/1.29, allocations: 1.434 MB / 0.8562 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/1.291, allocations: 139.4 kB / 0.8563 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.223e-06/1.291, allocations: 0 / 0.8563 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.06225/1.353, allocations: 45.86 MB / 0.9011 GB, free: 12.65 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)