Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestLoopBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestLoopBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8051/0.8051, allocations: 150.8 MB / 166.1 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.244e-05, allocations: 4 kB / 204.9 MB, free: 9.949 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1737, allocations: 31.99 MB / 236.8 MB, free: 5.41 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker): time 1.499/1.673, allocations: 296.5 MB / 0.5208 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4076/2.081, allocations: 186.7 MB / 0.7032 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/2.081, allocations: 13.72 kB / 0.7032 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000186/2.081, allocations: 78.28 kB / 0.7032 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005596/2.082, allocations: 259 kB / 0.7035 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02346/2.105, allocations: 9.097 MB / 0.7124 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001029/2.106, allocations: 1.038 MB / 0.7134 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004835/2.107, allocations: 0.5319 MB / 0.7139 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/2.107, allocations: 357.5 kB / 0.7143 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/2.108, allocations: 405.8 kB / 0.7146 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/2.108, allocations: 45.38 kB / 0.7147 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02434/2.132, allocations: 16.9 MB / 0.7312 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000186/2.132, allocations: 164.8 kB / 0.7313 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005206/2.133, allocations: 487.5 kB / 0.7318 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01562/2.148, allocations: 9.304 MB / 0.7409 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/2.148, allocations: 0 / 0.7409 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.244e-06/2.148, allocations: 3.141 kB / 0.7409 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.144e-05/2.148, allocations: 0 / 0.7409 GB, free: 0.6797 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.004183/2.153, allocations: 1.975 MB / 0.7428 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/2.153, allocations: 10.22 kB / 0.7428 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/2.153, allocations: 166.2 kB / 0.743 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/2.153, allocations: 129.5 kB / 0.7431 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/2.153, allocations: 496.1 kB / 0.7436 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/2.154, allocations: 89.95 kB / 0.7437 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.509e-05/2.154, allocations: 106.8 kB / 0.7438 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/2.155, allocations: 1.178 MB / 0.7449 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/2.155, allocations: 6.5 kB / 0.7449 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/2.155, allocations: 48.03 kB / 0.745 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/2.155, allocations: 33.53 kB / 0.745 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/2.156, allocations: 0.7045 MB / 0.7457 GB, free: 14.32 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.07193/2.228, allocations: 39.07 MB / 0.7839 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/2.229, allocations: 241.9 kB / 0.7841 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/2.229, allocations: 136.3 kB / 0.7842 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.537/2.766, allocations: 207.8 MB / 0.9871 GB, free: 475.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/2.766, allocations: 35.59 kB / 0.9872 GB, free: 475.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=29): time 2.305e-06/2.766, allocations: 3.969 kB / 0.9872 GB, free: 475.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29): time 0.002279/2.768, allocations: 0.9148 MB / 0.9881 GB, free: 475.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/2.768, allocations: 57.03 kB / 0.9881 GB, free: 475.1 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/2.769, allocations: 0.5586 MB / 0.9887 GB, free: 475 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/2.769, allocations: 30.55 kB / 0.9887 GB, free: 475 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/2.769, allocations: 0.5086 MB / 0.9892 GB, free: 474.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/2.769, allocations: 109 kB / 0.9893 GB, free: 474.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.434e-05/2.769, allocations: 81.75 kB / 0.9894 GB, free: 474.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 6.94e-05/2.769, allocations: 360.3 kB / 0.9897 GB, free: 474.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/2.77, allocations: 175.1 kB / 0.9899 GB, free: 474.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/2.77, allocations: 0.5156 MB / 0.9904 GB, free: 473.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/2.771, allocations: 0.7235 MB / 0.9911 GB, free: 473.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/2.771, allocations: 3.594 kB / 0.9911 GB, free: 473.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001769/2.773, allocations: 0.895 MB / 0.992 GB, free: 473.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/2.773, allocations: 9.969 kB / 0.992 GB, free: 473.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/2.773, allocations: 16.72 kB / 0.992 GB, free: 473.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006683/2.773, allocations: 174.8 kB / 0.9922 GB, free: 473.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/2.774, allocations: 144.3 kB / 0.9923 GB, free: 473.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/2.776, allocations: 2.692 MB / 0.9949 GB, free: 470.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/2.776, allocations: 117.3 kB / 0.995 GB, free: 470.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/2.776, allocations: 40.73 kB / 0.9951 GB, free: 470.9 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 22 (splitter2_1.Cs2.ftype,mixer2_1.Cs.ftype,splitter2_1.Cs1.ftype,mixer2_1.fluids[1],sourcePQ.C.ftype,splitter2_1.fluids[1],singularPressureLoss1.fluid,singularPressureLoss2.fluid,sink.fluid,mixer2_1.fluid1,splitter2_1.fluid1,sourcePQ.fluid1,mixer2_1.Ce2.diff_on_2,splitter2_1.Cs2.diff_on_2,splitter2_1.Cs2.diff_on_1,loopBreakerP.C2.diff_on_1,mixer2_1.Cs.diff_on_1,mixer2_1.Ce1.diff_on_2,splitter2_1.Cs1.diff_on_2,splitter2_1.Cs1.diff_on_1,mixer2_1.Ce1.diff_on_1,splitter2_1.Ce.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003773/2.777, allocations: 254.9 kB / 0.9953 GB, free: 470.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/2.777, allocations: 60.09 kB / 0.9954 GB, free: 470.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/2.778, allocations: 0.5217 MB / 0.9959 GB, free: 470.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/2.778, allocations: 6.75 kB / 0.9959 GB, free: 470.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/2.778, allocations: 3.141 kB / 0.9959 GB, free: 470.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/2.778, allocations: 4 kB / 0.9959 GB, free: 470.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/2.78, allocations: 1.286 MB / 0.9972 GB, free: 470.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/2.78, allocations: 3.031 kB / 0.9972 GB, free: 470.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/2.78, allocations: 33.98 kB / 0.9972 GB, free: 470.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004888/2.781, allocations: 160.5 kB / 0.9973 GB, free: 470.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/2.781, allocations: 9.531 kB / 0.9974 GB, free: 470.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/2.782, allocations: 2.646 MB / 0.9999 GB, free: 467.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.782, allocations: 8.031 kB / 0.9999 GB, free: 467.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/2.783, allocations: 0.5677 MB / 1 GB, free: 467.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/2.783, allocations: 161.5 kB / 1.001 GB, free: 467.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/2.783, allocations: 8 kB / 1.001 GB, free: 467.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/2.783, allocations: 45.2 kB / 1.001 GB, free: 467.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/2.784, allocations: 37.17 kB / 1.001 GB, free: 467.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/2.784, allocations: 14.06 kB / 1.001 GB, free: 467.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003407/2.784, allocations: 358 kB / 1.001 GB, free: 467.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/2.784, allocations: 5.297 kB / 1.001 GB, free: 467.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003478/2.787, allocations: 1.418 MB / 1.002 GB, free: 467.2 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005696/2.793, allocations: 2.898 MB / 1.005 GB, free: 466.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009974/2.794, allocations: 0.5642 MB / 1.006 GB, free: 466.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.794, allocations: 0 / 1.006 GB, free: 466.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003706/2.795, allocations: 269.2 kB / 1.006 GB, free: 466 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009811/2.796, allocations: 155.8 kB / 1.006 GB, free: 466 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007377/2.803, allocations: 6.392 MB / 1.013 GB, free: 462.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/2.803, allocations: 0.9473 MB / 1.013 GB, free: 461.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000331/2.804, allocations: 92.69 kB / 1.014 GB, free: 461.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/2.804, allocations: 295.5 kB / 1.014 GB, free: 461.8 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/2.804, allocations: 3.531 kB / 1.014 GB, free: 461.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.666/6.47, allocations: 52.16 MB / 1.065 GB, free: 425.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/6.47, allocations: 284.4 kB / 1.065 GB, free: 424.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.269/10.74, allocations: 4 kB / 1.065 GB, free: 424.8 MB / 0.8262 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestLoopBreaker_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestLoopBreaker.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe 2>&1)