Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.00485/0.00485, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001113/0.001113, allocations: 197.5 kB / 16.67 MB, free: 5.977 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7001/0.7001, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.91 kB / 0.5809 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4162, allocations: 80.21 MB / 0.6592 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6511/1.067, allocations: 241.9 MB / 0.8954 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01531/1.083, allocations: 13.53 MB / 0.9086 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/1.085, allocations: 60.22 kB / 0.9087 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/1.087, allocations: 0.9777 MB / 0.9096 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004423/1.092, allocations: 1.783 MB / 0.9114 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/1.095, allocations: 1.246 MB / 0.9126 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00446/1.099, allocations: 3.264 MB / 0.9158 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/1.101, allocations: 1.05 MB / 0.9168 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008652/1.11, allocations: 4.139 MB / 0.9208 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/1.111, allocations: 0.9031 MB / 0.9217 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/1.111, allocations: 78.03 kB / 0.9218 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/1.112, allocations: 0.6973 MB / 0.9225 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000338/1.113, allocations: 443.2 kB / 0.9229 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006502/1.113, allocations: 0.6868 MB / 0.9236 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/1.115, allocations: 1.546 MB / 0.9251 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.115, allocations: 0 / 0.9251 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.273e-06/1.115, allocations: 0.875 kB / 0.9251 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.468e-05/1.115, allocations: 0 / 0.9251 GB, free: 0.9141 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00185/1.117, allocations: 1.623 MB / 0.9267 GB, free: 16.03 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/1.117, allocations: 11.75 kB / 0.9267 GB, free: 16.03 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/1.117, allocations: 124 kB / 0.9268 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005711/1.118, allocations: 202.1 kB / 0.927 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/1.119, allocations: 0.9049 MB / 0.9279 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/1.119, allocations: 121.7 kB / 0.928 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/1.119, allocations: 86.25 kB / 0.9281 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/1.12, allocations: 0.9206 MB / 0.929 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.12, allocations: 5.656 kB / 0.929 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.119e-05/1.12, allocations: 33.25 kB / 0.929 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/1.12, allocations: 25 kB / 0.929 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007117/1.121, allocations: 0.5082 MB / 0.9295 GB, free: 15.18 MB / 0.7012 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.004043/1.125, allocations: 4.859 MB / 0.9343 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/1.126, allocations: 419.4 kB / 0.9347 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/1.126, allocations: 265.7 kB / 0.9349 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/1.126, allocations: 101.5 kB / 0.935 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/1.126, allocations: 55.67 kB / 0.9351 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/1.126, allocations: 0 / 0.9351 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31): time 0.001597/1.128, allocations: 0.7738 MB / 0.9358 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/1.128, allocations: 405.2 kB / 0.9362 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/1.129, allocations: 1.274 MB / 0.9375 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/1.129, allocations: 39.05 kB / 0.9375 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/1.13, allocations: 0.552 MB / 0.938 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-05/1.13, allocations: 105.3 kB / 0.9381 GB, free: 10 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.13, allocations: 84.39 kB / 0.9382 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.13, allocations: 329.9 kB / 0.9385 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/1.13, allocations: 87.67 kB / 0.9386 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/1.131, allocations: 333.6 kB / 0.9389 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/1.131, allocations: 325.8 kB / 0.9393 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.131, allocations: 3.406 kB / 0.9393 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000693/1.132, allocations: 498.3 kB / 0.9397 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.132, allocations: 7.438 kB / 0.9397 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.132, allocations: 8.594 kB / 0.9397 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/1.132, allocations: 80.88 kB / 0.9398 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/1.132, allocations: 53.47 kB / 0.9399 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/1.134, allocations: 3.253 MB / 0.9431 GB, free: 6.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006091/1.135, allocations: 101.4 kB / 0.9431 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/1.135, allocations: 20.31 kB / 0.9432 GB, free: 6.113 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003016/1.135, allocations: 278.4 kB / 0.9434 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/1.136, allocations: 138 kB / 0.9436 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/1.136, allocations: 129.3 kB / 0.9437 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/1.136, allocations: 9.438 kB / 0.9437 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.136, allocations: 7.938 kB / 0.9437 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.136, allocations: 6.844 kB / 0.9437 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/1.138, allocations: 2.512 MB / 0.9462 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.138, allocations: 8.469 kB / 0.9462 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/1.139, allocations: 47.73 kB / 0.9462 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/1.139, allocations: 70.36 kB / 0.9463 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/1.139, allocations: 15.62 kB / 0.9463 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/1.141, allocations: 3.261 MB / 0.9495 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.141, allocations: 9.75 kB / 0.9495 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/1.142, allocations: 0.6922 MB / 0.9502 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/1.142, allocations: 247.6 kB / 0.9504 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.142, allocations: 9.625 kB / 0.9504 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/1.143, allocations: 39.86 kB / 0.9505 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/1.143, allocations: 44.27 kB / 0.9505 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/1.143, allocations: 20.2 kB / 0.9505 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008706/1.144, allocations: 0.8773 MB / 0.9514 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/1.144, allocations: 0 / 0.9514 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000791/1.144, allocations: 258.7 kB / 0.9516 GB, free: 0.6523 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/1.146, allocations: 1.326 MB / 0.9529 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007812/1.147, allocations: 0.5218 MB / 0.9534 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.147, allocations: 3.375 kB / 0.9534 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004566/1.147, allocations: 403.7 kB / 0.9538 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/1.15, allocations: 0.748 MB / 0.9545 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.16, allocations: 8.196 MB / 0.9625 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/1.161, allocations: 1.133 MB / 0.9637 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008231/1.162, allocations: 235.9 kB / 0.9639 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/1.162, allocations: 447.5 kB / 0.9643 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/1.162, allocations: 0 / 0.9643 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06769/1.23, allocations: 34.8 MB / 0.9983 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/12.14, allocations: 16.45 kB / 0.9983 GB, free: 14.41 MB / 0.7481 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)