Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.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.0009565/0.0009565, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001148/0.001148, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 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 0.9132/0.9132, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.757/0.757, allocations: 154.5 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.666e-05, allocations: 5.891 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.5789/0.5789, allocations: 326 MB / 0.9365 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.5565/1.135, allocations: 70.65 MB / 1.006 GB, free: 37.07 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01687/1.152, allocations: 0.5989 MB / 1.006 GB, free: 37.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.01924/1.172, allocations: 6.438 MB / 1.012 GB, free: 37.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.04024/1.212, allocations: 15.34 MB / 1.027 GB, free: 35.04 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.02459/1.236, allocations: 10.84 MB / 1.038 GB, free: 34.65 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.07597/1.312, allocations: 66.81 MB / 1.103 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02908/1.341, allocations: 15.44 MB / 1.118 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06337/1.405, allocations: 23.61 MB / 1.141 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03095/1.436, allocations: 14.73 MB / 1.156 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.008831/1.445, allocations: 1.746 MB / 1.157 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01915/1.464, allocations: 4.942 MB / 1.162 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.01049/1.474, allocations: 6.262 MB / 1.168 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.02029/1.494, allocations: 7.446 MB / 1.176 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.05187/1.546, allocations: 30.47 MB / 1.205 GB, free: 7.996 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/1.546, allocations: 0 / 1.205 GB, free: 7.996 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.07e-06/1.546, allocations: 4 kB / 1.205 GB, free: 7.992 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001295/1.548, allocations: 0 / 1.205 GB, free: 7.992 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.05747/1.605, allocations: 20.64 MB / 1.226 GB, free: 3.547 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.605, allocations: 14.66 kB / 1.226 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005123/1.61, allocations: 0.9987 MB / 1.227 GB, free: 2.523 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01423/1.625, allocations: 3.232 MB / 1.23 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04347/1.668, allocations: 22.18 MB / 1.251 GB, free: 9.578 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007401/1.669, allocations: 0.6386 MB / 1.252 GB, free: 8.941 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005757/1.674, allocations: 0.8807 MB / 1.253 GB, free: 8.062 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04024/1.715, allocations: 18.06 MB / 1.27 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003213/1.715, allocations: 15.14 kB / 1.271 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005888/1.721, allocations: 318.2 kB / 1.271 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/1.721, allocations: 203.4 kB / 1.271 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03778/1.759, allocations: 21.38 MB / 1.292 GB, free: 15.71 MB / 0.9948 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.1219/1.881, allocations: 62.32 MB / 1.353 GB, free: 2.57 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01914/1.9, allocations: 12.31 MB / 1.365 GB, free: 6.539 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01333/1.913, allocations: 9.193 MB / 1.374 GB, free: 13.33 MB / 1.073 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 evalFunc (simulation): time 0.7008/2.614, allocations: 28.78 MB / 1.402 GB, free: 485.9 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01653/2.631, allocations: 11.44 MB / 1.413 GB, free: 481.4 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02185/2.653, allocations: 8.175 MB / 1.421 GB, free: 480.7 MB / 1.073 GB Notification: Performance of pre-optimization done (n=503): time 5.049e-05/2.653, allocations: 0 / 1.421 GB, free: 480.7 MB / 1.073 GB Notification: Performance of matching and sorting (n=742): time 0.572/3.225, allocations: 218 MB / 1.634 GB, free: 302 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06796/3.293, allocations: 47.57 MB / 1.68 GB, free: 253.6 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02806/3.321, allocations: 19.05 MB / 1.699 GB, free: 234.7 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.004365/3.325, allocations: 200.8 kB / 1.699 GB, free: 234.5 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00776/3.333, allocations: 7.893 MB / 1.707 GB, free: 227 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.007631/3.34, allocations: 2.698 MB / 1.71 GB, free: 224.7 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.017/3.357, allocations: 3.321 MB / 1.713 GB, free: 221.4 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 3.718e-05/3.357, allocations: 305.1 kB / 1.713 GB, free: 221.1 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02124/3.379, allocations: 18.58 MB / 1.731 GB, free: 202.5 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02277/3.401, allocations: 23.38 MB / 1.754 GB, free: 177.5 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04222/3.444, allocations: 35.7 MB / 1.789 GB, free: 141.1 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.587e-05/3.444, allocations: 23.88 kB / 1.789 GB, free: 141.1 MB / 1.073 GB Notification: Performance of matching and sorting (n=1227) (initialization): time 0.3261/3.77, allocations: 130.2 MB / 1.916 GB, free: 10.96 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 8.485e-05/3.77, allocations: 62.81 kB / 1.916 GB, free: 10.89 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-05/3.77, allocations: 56 kB / 1.916 GB, free: 10.84 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9265/4.696, allocations: 117.8 MB / 2.031 GB, free: 427.9 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009291/4.706, allocations: 2.968 MB / 2.034 GB, free: 426.9 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1002/4.806, allocations: 80.94 MB / 2.113 GB, free: 349.7 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04683/4.853, allocations: 6.548 MB / 2.12 GB, free: 343.1 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008372/4.861, allocations: 1.255 MB / 2.121 GB, free: 341.9 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03063/4.892, allocations: 21.66 MB / 2.142 GB, free: 320.2 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02352/4.915, allocations: 22.85 MB / 2.164 GB, free: 295.8 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04059/4.956, allocations: 34.67 MB / 2.198 GB, free: 260.4 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.599e-05/4.956, allocations: 16 kB / 2.198 GB, free: 260.4 MB / 1.073 GB Notification: Performance of matching and sorting (n=1227) (initialization_lambda0): time 0.3339/5.29, allocations: 128.6 MB / 2.324 GB, free: 132.7 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 8.924e-05/5.29, allocations: 53.7 kB / 2.324 GB, free: 132.7 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.1e-05/5.29, allocations: 53.64 kB / 2.324 GB, free: 132.6 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.296/5.586, allocations: 117.5 MB / 2.439 GB, free: 15.52 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008879/5.595, allocations: 2.955 MB / 2.441 GB, free: 12.56 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5335/6.128, allocations: 84.2 MB / 2.524 GB, free: 414.4 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04627/6.175, allocations: 6.592 MB / 2.53 GB, free: 414.2 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005721/6.18, allocations: 1.221 MB / 2.531 GB, free: 414.2 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (907): * Single equations (assignments): 891 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.008423/6.189, allocations: 0.6811 MB / 2.532 GB, free: 413.7 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007924/6.197, allocations: 1.634 MB / 2.534 GB, free: 413.7 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.129/6.326, allocations: 60.05 MB / 2.592 GB, free: 389.7 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1282/6.454, allocations: 63.67 MB / 2.654 GB, free: 326.2 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000203/6.454, allocations: 32 kB / 2.654 GB, free: 326.1 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1203/6.575, allocations: 63 MB / 2.716 GB, free: 263.3 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1881/6.763, allocations: 108.8 MB / 2.822 GB, free: 154.9 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001067/6.763, allocations: 4 kB / 2.822 GB, free: 154.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008048/6.771, allocations: 2.129 MB / 2.824 GB, free: 152.7 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1679/6.939, allocations: 78.27 MB / 2.901 GB, free: 74.85 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003677/6.942, allocations: 0.5299 MB / 2.901 GB, free: 74.32 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06455/7.007, allocations: 55.01 MB / 2.955 GB, free: 19.34 MB / 1.073 GB Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4105/7.417, allocations: 46.6 MB / 3 GB, free: 428.8 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1654/7.583, allocations: 90.72 MB / 3.089 GB, free: 405.4 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01284/7.596, allocations: 5.528 MB / 3.094 GB, free: 404 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006608/7.602, allocations: 165.8 kB / 3.095 GB, free: 403.9 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02984/7.632, allocations: 3.474 MB / 3.098 GB, free: 403.5 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004372/7.637, allocations: 0.8454 MB / 3.099 GB, free: 403.3 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002981/7.64, allocations: 0.6146 MB / 3.099 GB, free: 403 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01909/7.659, allocations: 13.36 MB / 3.112 GB, free: 391 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.1e-07/7.659, allocations: 0 / 3.112 GB, free: 391 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.06322/7.722, allocations: 34.54 MB / 3.146 GB, free: 356.6 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (556): * Single equations (assignments): 535 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1565/7.878, allocations: 92.15 MB / 3.236 GB, free: 265.6 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.09093/7.969, allocations: 67.32 MB / 3.302 GB, free: 198.2 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/7.969, allocations: 1.875 kB / 3.302 GB, free: 198.2 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.03575/8.005, allocations: 22.09 MB / 3.323 GB, free: 176.1 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04312/8.048, allocations: 8.51 MB / 3.332 GB, free: 168.2 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.258/9.306, allocations: 412.5 MB / 3.735 GB, free: 278.6 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01619/9.322, allocations: 9.632 MB / 3.744 GB, free: 269 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.02519/9.347, allocations: 6.681 MB / 3.751 GB, free: 262.5 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01979/9.367, allocations: 10.08 MB / 3.76 GB, free: 252.4 MB / 1.073 GB Notification: Performance of SimCode: time 1.433e-06/9.367, allocations: 4 kB / 3.76 GB, free: 252.4 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.394/10.76, allocations: 0.8116 GB / 4.572 GB, free: 401.9 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 58.11/68.87, allocations: 16.83 kB / 4.572 GB, free: 401.9 MB / 1.073 GB " [Timeout remaining time 591] (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified3.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 72.13182533532381] Failed to read output from testmodel.py, exit status != 0: 69.2345525873825 69.244695664 67.695674959 Calling exit ...