Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.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.TestStaticExchangerKS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8785/0.8785, allocations: 150.8 MB / 166.1 MB, free: 15.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.584e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.181, allocations: 31.98 MB / 236.8 MB, free: 5.512 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.TestStaticExchangerKS): time 1.744/1.925, allocations: 294.7 MB / 0.519 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2167/2.142, allocations: 187.4 MB / 0.702 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006561/2.143, allocations: 19.81 kB / 0.702 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/2.143, allocations: 47.56 kB / 0.702 GB, free: 312 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00092/2.144, allocations: 198.5 kB / 0.7022 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4305/2.575, allocations: 9.098 MB / 0.7111 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001025/2.576, allocations: 0.741 MB / 0.7118 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/2.576, allocations: 340.6 kB / 0.7121 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/2.576, allocations: 246 kB / 0.7124 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/2.577, allocations: 284.1 kB / 0.7127 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/2.577, allocations: 30.72 kB / 0.7127 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03854/2.615, allocations: 20.36 MB / 0.7326 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000256/2.616, allocations: 111.2 kB / 0.7327 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005226/2.616, allocations: 333.4 kB / 0.733 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02987/2.646, allocations: 10.34 MB / 0.7431 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/2.646, allocations: 128 / 0.7431 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 3.006e-06/2.646, allocations: 64 / 0.7431 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 1.761e-05/2.646, allocations: 2.031 kB / 0.7431 GB, free: 0 / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.005919/2.652, allocations: 1.962 MB / 0.745 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/2.652, allocations: 9.406 kB / 0.745 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/2.652, allocations: 83.44 kB / 0.7451 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/2.653, allocations: 425.6 kB / 0.7455 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/2.653, allocations: 53.34 kB / 0.7456 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/2.653, allocations: 64.72 kB / 0.7456 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/2.654, allocations: 0.6853 MB / 0.7463 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/2.654, allocations: 6.844 kB / 0.7463 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/2.654, allocations: 24.62 kB / 0.7463 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/2.654, allocations: 17.41 kB / 0.7463 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007152/2.655, allocations: 0.4987 MB / 0.7468 GB, free: 14.05 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.01609/2.671, allocations: 11.88 MB / 0.7584 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/2.671, allocations: 181.2 kB / 0.7586 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/2.671, allocations: 85.14 kB / 0.7587 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3118/2.983, allocations: 151.5 MB / 0.9066 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/2.983, allocations: 34.25 kB / 0.9067 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/2.983, allocations: 0 / 0.9067 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.002997/2.986, allocations: 0.7601 MB / 0.9074 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/2.986, allocations: 55.41 kB / 0.9075 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/2.987, allocations: 485 kB / 0.9079 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/2.987, allocations: 29.27 kB / 0.908 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/2.987, allocations: 358.6 kB / 0.9083 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/2.987, allocations: 70.19 kB / 0.9084 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/2.987, allocations: 50.3 kB / 0.9084 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000143/2.988, allocations: 353 kB / 0.9088 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/2.988, allocations: 90.33 kB / 0.9088 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/2.988, allocations: 269.8 kB / 0.9091 GB, free: 3.605 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/2.988, allocations: 380.2 kB / 0.9095 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/2.988, allocations: 4 kB / 0.9095 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000721/2.989, allocations: 490.7 kB / 0.9099 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/2.989, allocations: 9.875 kB / 0.9099 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/2.989, allocations: 4.781 kB / 0.91 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003327/2.993, allocations: 0.5636 MB / 0.9105 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/2.993, allocations: 65.47 kB / 0.9106 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009754/2.994, allocations: 0.8008 MB / 0.9113 GB, free: 1.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/2.994, allocations: 54.75 kB / 0.9114 GB, free: 1.555 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/2.994, allocations: 26.59 kB / 0.9114 GB, free: 1.535 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,sourceP2.C.ftype,plateHeatExchanger.fluid_c,plateHeatExchanger.fluid_f,puitsP2.fluid,puitsP3.fluid,sourceP3.fluid1,sourceP2.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {(4,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002594/2.994, allocations: 182.8 kB / 0.9116 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/2.994, allocations: 50.34 kB / 0.9116 GB, free: 1.336 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/2.995, allocations: 433.8 kB / 0.9121 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/2.995, allocations: 4 kB / 0.9121 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/2.995, allocations: 4 kB / 0.9121 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/2.995, allocations: 0 / 0.9121 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/2.996, allocations: 480.6 kB / 0.9125 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/2.996, allocations: 4 kB / 0.9125 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/2.996, allocations: 0 / 0.9125 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002519/2.999, allocations: 459.1 kB / 0.913 GB, free: 184 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/2.999, allocations: 9.344 kB / 0.913 GB, free: 180 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009522/3, allocations: 0.8001 MB / 0.9138 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/3, allocations: 0 / 0.9138 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/3, allocations: 375 kB / 0.9141 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/3.001, allocations: 154.2 kB / 0.9143 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/3.001, allocations: 6.438 kB / 0.9143 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/3.001, allocations: 6.5 kB / 0.9143 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/3.001, allocations: 16.14 kB / 0.9143 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/3.001, allocations: 13.61 kB / 0.9143 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004182/3.001, allocations: 346.8 kB / 0.9146 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/3.001, allocations: 0 / 0.9146 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004564/3.006, allocations: 1.544 MB / 0.9161 GB, free: 13.26 MB / 0.7637 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 (1): * Single equations (assignments): 0 * 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 {(4,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007634/3.014, allocations: 2.319 MB / 0.9184 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001/3.015, allocations: 290.4 kB / 0.9187 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/3.015, allocations: 0 / 0.9187 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003457/3.015, allocations: 125.7 kB / 0.9188 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/3.016, allocations: 127.1 kB / 0.9189 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/3.017, allocations: 1.096 MB / 0.92 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/3.018, allocations: 0.8697 MB / 0.9208 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000211/3.018, allocations: 59.91 kB / 0.9209 GB, free: 8.852 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/3.018, allocations: 31.44 kB / 0.9209 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of SimCode: time 5.61e-07/3.018, allocations: 0 / 0.9209 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of Templates: time 0.06637/3.084, allocations: 49.13 MB / 0.9689 GB, free: 7.852 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe 2>&1) Environment - environmentSimulation: