Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.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: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7912/0.7912, allocations: 150.8 MB / 166.6 MB, free: 11.18 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002502, allocations: 15.98 kB / 204.7 MB, free: 6.16 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 31.32 MB / 236 MB, free: 3.895 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier): time 1.546/1.684, allocations: 292.8 MB / 0.5165 GB, free: 9.188 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4964/2.181, allocations: 188.6 MB / 0.7006 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00034/2.181, allocations: 10.16 kB / 0.7006 GB, free: 2.75 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/MassFlowMultiplier.mo:43:3-44:67:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/MassFlowMultiplier.mo:45:3-46:65:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001787/2.181, allocations: 51.41 kB / 0.7007 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003721/2.182, allocations: 175.7 kB / 0.7009 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02803/2.21, allocations: 8.818 MB / 0.7095 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009996/2.211, allocations: 0.6719 MB / 0.7101 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/2.211, allocations: 368.9 kB / 0.7105 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/2.211, allocations: 265.2 kB / 0.7107 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/2.212, allocations: 317.1 kB / 0.711 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/2.212, allocations: 51.78 kB / 0.7111 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03044/2.242, allocations: 16.82 MB / 0.7275 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/2.242, allocations: 137.9 kB / 0.7276 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000498/2.243, allocations: 327.1 kB / 0.7279 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02279/2.266, allocations: 8.977 MB / 0.7367 GB, free: 14.38 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/2.266, allocations: 0 / 0.7367 GB, free: 14.38 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.974e-06/2.266, allocations: 0 / 0.7367 GB, free: 14.38 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.708e-05/2.266, allocations: 2.906 kB / 0.7367 GB, free: 14.38 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005116/2.271, allocations: 1.831 MB / 0.7385 GB, free: 13.22 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/2.271, allocations: 11.5 kB / 0.7385 GB, free: 13.22 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/2.271, allocations: 79.12 kB / 0.7386 GB, free: 13.18 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/2.272, allocations: 388 kB / 0.739 GB, free: 12.89 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/2.272, allocations: 52.34 kB / 0.739 GB, free: 12.89 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/2.272, allocations: 61.16 kB / 0.7391 GB, free: 12.89 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009551/2.273, allocations: 0.697 MB / 0.7398 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/2.273, allocations: 1.094 kB / 0.7398 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/2.273, allocations: 27.19 kB / 0.7398 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/2.273, allocations: 17.75 kB / 0.7398 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/2.274, allocations: 455.8 kB / 0.7402 GB, free: 12.55 MB / 0.573 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.08083/2.354, allocations: 34.76 MB / 0.7742 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/2.355, allocations: 175.6 kB / 0.7743 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/2.355, allocations: 62.67 kB / 0.7744 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7091/3.064, allocations: 213.2 MB / 0.9826 GB, free: 427.9 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/3.064, allocations: 35.8 kB / 0.9826 GB, free: 427.9 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/3.064, allocations: 0.9375 kB / 0.9826 GB, free: 427.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=16): time 0.001754/3.066, allocations: 0.6542 MB / 0.9832 GB, free: 427.5 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/3.066, allocations: 61.38 kB / 0.9833 GB, free: 427.4 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/3.066, allocations: 426.8 kB / 0.9837 GB, free: 427.3 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/3.067, allocations: 29.58 kB / 0.9837 GB, free: 427.3 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/3.067, allocations: 363.2 kB / 0.9841 GB, free: 427.1 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/3.067, allocations: 62.62 kB / 0.9841 GB, free: 427.1 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/3.067, allocations: 115.3 kB / 0.9842 GB, free: 427.1 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/3.067, allocations: 345.5 kB / 0.9846 GB, free: 426.8 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/3.067, allocations: 83.91 kB / 0.9846 GB, free: 426.8 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/3.068, allocations: 317.1 kB / 0.985 GB, free: 426.5 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/3.068, allocations: 427.1 kB / 0.9854 GB, free: 426.2 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/3.068, allocations: 3.969 kB / 0.9854 GB, free: 426.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001103/3.069, allocations: 0.5519 MB / 0.9859 GB, free: 426.1 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/3.069, allocations: 6.625 kB / 0.9859 GB, free: 426.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/3.069, allocations: 9.469 kB / 0.9859 GB, free: 426.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000588/3.07, allocations: 138.4 kB / 0.986 GB, free: 426.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/3.07, allocations: 72.98 kB / 0.9861 GB, free: 426.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/3.071, allocations: 2.462 MB / 0.9885 GB, free: 423.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/3.072, allocations: 77.23 kB / 0.9886 GB, free: 423.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/3.072, allocations: 27.92 kB / 0.9886 GB, free: 423.7 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 14 (massFlowMultiplier.fluid1,massFlowMultiplier.Cs.ftype,sourcePQ.C.ftype,massFlowMultiplier.fluids[1],sink.fluid,singularPressureLoss.fluid,singularPressureLoss1.fluid,sourcePQ.fluid1,massFlowMultiplier.Cs.diff_on_1,singularPressureLoss1.C2.diff_on_1,massFlowMultiplier.Ce.diff_on_2,sourcePQ.C.diff_on_2,massFlowMultiplier.Cs.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 44 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002404/3.072, allocations: 200.1 kB / 0.9888 GB, free: 423.6 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/3.072, allocations: 39.81 kB / 0.9889 GB, free: 423.6 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007977/3.073, allocations: 346.2 kB / 0.9892 GB, free: 423.5 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/3.073, allocations: 4 kB / 0.9892 GB, free: 423.5 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/3.073, allocations: 0 / 0.9892 GB, free: 423.5 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/3.073, allocations: 2.938 kB / 0.9892 GB, free: 423.5 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/3.074, allocations: 443.2 kB / 0.9896 GB, free: 423.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/3.074, allocations: 1 kB / 0.9896 GB, free: 423.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/3.074, allocations: 9.656 kB / 0.9896 GB, free: 423.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/3.074, allocations: 116 kB / 0.9897 GB, free: 423.3 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/3.074, allocations: 7 kB / 0.9897 GB, free: 423.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/3.075, allocations: 2.44 MB / 0.9921 GB, free: 421 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/3.075, allocations: 0 / 0.9921 GB, free: 421 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/3.077, allocations: 1.116 MB / 0.9932 GB, free: 420.2 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/3.077, allocations: 130 kB / 0.9933 GB, free: 420.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/3.077, allocations: 4.688 kB / 0.9933 GB, free: 420.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/3.077, allocations: 6.047 kB / 0.9933 GB, free: 420.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/3.077, allocations: 12.33 kB / 0.9934 GB, free: 420.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/3.077, allocations: 10.94 kB / 0.9934 GB, free: 420.1 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002989/3.077, allocations: 285.1 kB / 0.9936 GB, free: 420 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.6e-07/3.077, allocations: 0 / 0.9936 GB, free: 420 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004259/3.082, allocations: 1.372 MB / 0.995 GB, free: 419.9 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 5 * 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 {(1,2,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.007247/3.089, allocations: 1.964 MB / 0.9969 GB, free: 419.7 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008685/3.09, allocations: 370.8 kB / 0.9973 GB, free: 419.6 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/3.09, allocations: 0.75 kB / 0.9973 GB, free: 419.6 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/3.09, allocations: 203.6 kB / 0.9974 GB, free: 419.4 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/3.091, allocations: 109.7 kB / 0.9976 GB, free: 419.4 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/3.092, allocations: 1.121 MB / 0.9986 GB, free: 418.7 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/3.093, allocations: 0.8524 MB / 0.9995 GB, free: 418 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002712/3.093, allocations: 67.61 kB / 0.9995 GB, free: 418 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/3.093, allocations: 34.97 kB / 0.9996 GB, free: 418 MB / 0.7917 GB Notification: Performance of SimCode: time 3.91e-07/3.093, allocations: 0 / 0.9996 GB, free: 418 MB / 0.7917 GB Notification: Performance of Templates: time 0.05018/3.143, allocations: 43.4 MB / 1.042 GB, free: 381.1 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe 2>&1)