Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009763/0.009763, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.002628/0.002628, allocations: 190.2 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.273/2.273, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.123/1.123, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 63.59 kB / 0.5809 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2198, allocations: 80.21 MB / 0.6592 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.9577/1.178, allocations: 239.9 MB / 0.8934 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01965/1.197, allocations: 7.198 MB / 0.9005 GB, free: 15.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003258/1.201, allocations: 51.69 kB / 0.9005 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/1.203, allocations: 0.5123 MB / 0.901 GB, free: 14.5 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006215/1.21, allocations: 1.31 MB / 0.9023 GB, free: 13.19 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007309/1.217, allocations: 1.695 MB / 0.9039 GB, free: 11.5 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005402/1.222, allocations: 2.006 MB / 0.9059 GB, free: 9.492 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/1.224, allocations: 0.8089 MB / 0.9067 GB, free: 8.668 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005435/1.23, allocations: 1.436 MB / 0.9081 GB, free: 7.227 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/1.232, allocations: 0.6809 MB / 0.9088 GB, free: 6.543 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000283/1.232, allocations: 76 kB / 0.9088 GB, free: 6.469 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006406/1.239, allocations: 1.816 MB / 0.9106 GB, free: 4.648 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000701/1.239, allocations: 307 kB / 0.9109 GB, free: 4.348 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/1.24, allocations: 493.7 kB / 0.9114 GB, free: 3.863 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004963/1.245, allocations: 1.803 MB / 0.9131 GB, free: 2.055 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.245, allocations: 0 / 0.9131 GB, free: 2.055 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.455e-06/1.245, allocations: 0 / 0.9131 GB, free: 2.055 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.733e-05/1.245, allocations: 4 kB / 0.9131 GB, free: 2.051 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.004044/1.249, allocations: 1.341 MB / 0.9144 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.997e-05/1.25, allocations: 12.03 kB / 0.9144 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/1.25, allocations: 86.52 kB / 0.9145 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/1.252, allocations: 291.1 kB / 0.9148 GB, free: 272 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/1.255, allocations: 0.7108 MB / 0.9155 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.535e-05/1.255, allocations: 44.92 kB / 0.9155 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/1.255, allocations: 52 kB / 0.9156 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/1.257, allocations: 0.5998 MB / 0.9162 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/1.257, allocations: 0 / 0.9162 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.663e-05/1.257, allocations: 24 kB / 0.9162 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/1.257, allocations: 12 kB / 0.9162 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/1.259, allocations: 0.6051 MB / 0.9168 GB, free: 14.17 MB / 0.6856 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.0062/1.265, allocations: 2.63 MB / 0.9194 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/1.267, allocations: 484.3 kB / 0.9198 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009757/1.268, allocations: 316.2 kB / 0.9201 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/1.269, allocations: 404.7 kB / 0.9205 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.269, allocations: 43.81 kB / 0.9206 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00088/1.27, allocations: 111.7 kB / 0.9207 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=45): time 4.188e-06/1.27, allocations: 4 kB / 0.9207 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.00443/1.274, allocations: 1.104 MB / 0.9218 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/1.274, allocations: 59.41 kB / 0.9218 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/1.276, allocations: 0.6491 MB / 0.9224 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/1.276, allocations: 33.7 kB / 0.9225 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/1.277, allocations: 365.2 kB / 0.9228 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/1.277, allocations: 158.6 kB / 0.923 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/1.277, allocations: 102 kB / 0.9231 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000334/1.278, allocations: 325.9 kB / 0.9234 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/1.278, allocations: 230.5 kB / 0.9236 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009589/1.279, allocations: 324.3 kB / 0.9239 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/1.281, allocations: 0.5286 MB / 0.9244 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.281, allocations: 0 / 0.9244 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002439/1.283, allocations: 0.7325 MB / 0.9251 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/1.283, allocations: 4 kB / 0.9251 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.283, allocations: 3.938 kB / 0.9252 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006919/1.284, allocations: 92.78 kB / 0.9252 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/1.285, allocations: 95.89 kB / 0.9253 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009201/1.286, allocations: 0.6187 MB / 0.9259 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009019/1.287, allocations: 39.98 kB / 0.926 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.287, allocations: 23.98 kB / 0.926 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001118/1.288, allocations: 400.9 kB / 0.9264 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009078/1.289, allocations: 316.4 kB / 0.9267 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001569/1.291, allocations: 0.5129 MB / 0.9272 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/1.291, allocations: 0 / 0.9272 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.002276/1.293, allocations: 0.6914 MB / 0.9279 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.293, allocations: 8 kB / 0.9279 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/1.293, allocations: 3.938 kB / 0.9279 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/1.293, allocations: 60.81 kB / 0.9279 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/1.294, allocations: 91.89 kB / 0.928 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/1.297, allocations: 1.862 MB / 0.9298 GB, free: 176 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008994/1.298, allocations: 39.98 kB / 0.9299 GB, free: 136 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/1.298, allocations: 19.98 kB / 0.9299 GB, free: 116 kB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003714/1.298, allocations: 209.3 kB / 0.9301 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/1.298, allocations: 79.48 kB / 0.9302 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/1.301, allocations: 0.7818 MB / 0.9309 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.301, allocations: 4 kB / 0.9309 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.301, allocations: 7.984 kB / 0.9309 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/1.301, allocations: 3.938 kB / 0.9309 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/1.305, allocations: 1.69 MB / 0.9326 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.305, allocations: 0 / 0.9326 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006588/1.306, allocations: 83.89 kB / 0.9327 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002923/1.306, allocations: 72.75 kB / 0.9327 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/1.306, allocations: 12 kB / 0.9328 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007458/1.307, allocations: 0.6229 MB / 0.9334 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/1.307, allocations: 7.938 kB / 0.9334 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/1.31, allocations: 1.177 MB / 0.9345 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/1.311, allocations: 216.5 kB / 0.9347 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.311, allocations: 8 kB / 0.9347 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007811/1.312, allocations: 39.95 kB / 0.9348 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.312, allocations: 43.92 kB / 0.9348 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/1.312, allocations: 20 kB / 0.9348 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001058/1.313, allocations: 475 kB / 0.9353 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.41e-07/1.313, allocations: 4 kB / 0.9353 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001728/1.315, allocations: 371.4 kB / 0.9356 GB, free: 10 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004399/1.319, allocations: 1.824 MB / 0.9374 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003291/1.323, allocations: 0.9943 MB / 0.9384 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.323, allocations: 0 / 0.9384 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/1.324, allocations: 316.6 kB / 0.9387 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/1.327, allocations: 440.6 kB / 0.9391 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/1.348, allocations: 6.553 MB / 0.9455 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009841/1.349, allocations: 0.9619 MB / 0.9465 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001505/1.35, allocations: 233.9 kB / 0.9467 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007292/1.351, allocations: 283.3 kB / 0.947 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of SimCode: time 9.92e-07/1.351, allocations: 0 / 0.947 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09986/1.451, allocations: 23.77 MB / 0.9702 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.06/22.52, allocations: 6.953 kB / 0.9702 GB, free: 6.77 MB / 0.7325 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)