Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.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.Examples.SimpleExamples.TestVolumes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestVolumes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7324/0.7324, allocations: 150.8 MB / 166.1 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.407e-05/1.409e-05, allocations: 4 kB / 204.8 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 31.98 MB / 236.8 MB, free: 5.422 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.Examples.SimpleExamples.TestVolumes1): time 1.417/1.556, allocations: 298.7 MB / 0.5229 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4241/1.98, allocations: 187 MB / 0.7055 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005568/1.98, allocations: 12.81 kB / 0.7055 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006102/1.981, allocations: 285.9 kB / 0.7058 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/1.982, allocations: 0.5467 MB / 0.7063 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02279/2.005, allocations: 9.342 MB / 0.7154 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002365/2.007, allocations: 2.092 MB / 0.7175 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007568/2.008, allocations: 0.6954 MB / 0.7181 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007881/2.009, allocations: 0.6909 MB / 0.7188 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006132/2.009, allocations: 0.6875 MB / 0.7195 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.894e-05/2.01, allocations: 59.81 kB / 0.7196 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02934/2.039, allocations: 20.2 MB / 0.7393 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004374/2.039, allocations: 241.8 kB / 0.7395 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/2.04, allocations: 0.8015 MB / 0.7403 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02186/2.062, allocations: 11.16 MB / 0.7512 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/2.062, allocations: 2.906 kB / 0.7512 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.555e-06/2.062, allocations: 0 / 0.7512 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.678e-05/2.062, allocations: 5.969 kB / 0.7512 GB, free: 13.82 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 458 * Number of variables: 458 Notification: Performance of Generate backend data structure: time 0.006316/2.069, allocations: 2.794 MB / 0.7539 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/2.069, allocations: 13.14 kB / 0.7539 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/2.069, allocations: 187.4 kB / 0.7541 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/2.07, allocations: 0.6746 MB / 0.7548 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/2.07, allocations: 96.97 kB / 0.7549 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/2.07, allocations: 135.3 kB / 0.755 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/2.072, allocations: 1.783 MB / 0.7567 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/2.072, allocations: 5.531 kB / 0.7567 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.34e-05/2.072, allocations: 55.09 kB / 0.7568 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/2.072, allocations: 71.88 kB / 0.7569 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/2.074, allocations: 1.245 MB / 0.7581 GB, free: 10.62 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.08777/2.162, allocations: 51.61 MB / 0.8085 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/2.163, allocations: 0.8469 MB / 0.8093 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009198/2.164, allocations: 0.6412 MB / 0.8099 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2822/2.446, allocations: 151.8 MB / 0.9581 GB, free: 3.215 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/2.447, allocations: 44.55 kB / 0.9582 GB, free: 3.168 MB / 0.795 GB Notification: Performance of pre-optimization done (n=204): time 2.465e-06/2.447, allocations: 4 kB / 0.9582 GB, free: 3.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=204): time 0.007839/2.454, allocations: 3.126 MB / 0.9612 GB, free: 40 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/2.455, allocations: 137.1 kB / 0.9614 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009447/2.455, allocations: 0.8565 MB / 0.9622 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/2.456, allocations: 41.7 kB / 0.9623 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/2.456, allocations: 0.6016 MB / 0.9628 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004029/2.456, allocations: 0.6512 MB / 0.9635 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/2.456, allocations: 165.6 kB / 0.9636 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.672e-05/2.457, allocations: 301.1 kB / 0.9639 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009508/2.458, allocations: 0.5066 MB / 0.9644 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/2.459, allocations: 0.885 MB / 0.9653 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/2.461, allocations: 1.531 MB / 0.9668 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/2.461, allocations: 4 kB / 0.9668 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003249/2.464, allocations: 2.036 MB / 0.9688 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/2.464, allocations: 9.25 kB / 0.9688 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/2.464, allocations: 16.16 kB / 0.9688 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00771/2.472, allocations: 3.345 MB / 0.9721 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/2.472, allocations: 131.5 kB / 0.9722 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/2.475, allocations: 1.855 MB / 0.974 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/2.476, allocations: 214 kB / 0.9742 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/2.476, allocations: 56.45 kB / 0.9743 GB, free: 2.449 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 34 (pipe2.C2.b,pipe2.C1.a,pipe1.C2.b,pipe1.C1.a,puitsP2.C.a,valve5.C2.b,valve5.C1.a,volumeB1.Ce3.a,volumeB1.Cs.b,volumeB1.Ce2.a,volumeB1.Ce1.a,valve3.C2.b,valve3.C1.a,valve2.C2.b,valve2.C1.a,puitsP1.C.a,valve4.C2.b,valve4.C1.a,volumeD1.Cs3.b,volumeD1.Cs2.b,volumeD1.Cs1.b,volumeD1.Ce.a,puitsP.C.a,volumeD.Cs3.b,volumeD.Cs2.b,volumeD.Cs1.b,volumeD.Ce.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,volumeB1.Ce1.b,volumeD1.Cs1.a,volumeD.Cs1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(17,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0004578/2.477, allocations: 311.6 kB / 0.9745 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/2.477, allocations: 130.2 kB / 0.9747 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1661/2.643, allocations: 6.296 MB / 0.9808 GB, free: 459.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003213/2.646, allocations: 2.058 MB / 0.9828 GB, free: 459 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/2.646, allocations: 0 / 0.9828 GB, free: 459 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/2.646, allocations: 12.02 kB / 0.9828 GB, free: 459 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006217/2.653, allocations: 4.781 MB / 0.9875 GB, free: 458.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/2.653, allocations: 3.453 kB / 0.9875 GB, free: 458.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007109/2.653, allocations: 240.3 kB / 0.9877 GB, free: 458.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004076/2.657, allocations: 1.639 MB / 0.9893 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/2.657, allocations: 30.78 kB / 0.9894 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/2.66, allocations: 2.628 MB / 0.9919 GB, free: 456.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/2.66, allocations: 3.938 kB / 0.9919 GB, free: 456.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/2.664, allocations: 3.135 MB / 0.995 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005312/2.664, allocations: 418.9 kB / 0.9954 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/2.665, allocations: 29.19 kB / 0.9954 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006739/2.665, allocations: 95.28 kB / 0.9955 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/2.665, allocations: 104.9 kB / 0.9956 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/2.666, allocations: 47.08 kB / 0.9957 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007493/2.666, allocations: 0.7397 MB / 0.9964 GB, free: 456 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/2.666, allocations: 0.9062 kB / 0.9964 GB, free: 456 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003983/2.67, allocations: 1.847 MB / 0.9982 GB, free: 455.9 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volumeD.h,volumeD1.h,volumeB1.P,volumeB1.h) * 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 (129): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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): 3 systems {(6,14), (6,14), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005622/2.676, allocations: 2.356 MB / 1 GB, free: 455.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003598/2.68, allocations: 2.252 MB / 1.003 GB, free: 455.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/2.68, allocations: 0 / 1.003 GB, free: 455.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001972/2.682, allocations: 1.125 MB / 1.004 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/2.685, allocations: 0.6848 MB / 1.004 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/2.689, allocations: 4.319 MB / 1.009 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/2.69, allocations: 1.423 MB / 1.01 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005537/2.69, allocations: 155 kB / 1.01 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/2.69, allocations: 85.28 kB / 1.01 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/2.69, allocations: 0 / 1.01 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.07106/2.761, allocations: 71.28 MB / 1.08 GB, free: 390.7 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.pipe 2>&1) Environment - environmentSimulation: