Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump.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.TestDynamicCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8514/0.8514, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.977e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1592, allocations: 31.98 MB / 236.8 MB, free: 5.438 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.TestDynamicCentrifugalPump): time 1.673/1.832, allocations: 294.8 MB / 0.5191 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03935/1.871, allocations: 33.7 MB / 0.552 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002652/1.871, allocations: 8 kB / 0.552 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/1.872, allocations: 119.2 kB / 0.5521 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/1.872, allocations: 166.7 kB / 0.5523 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02209/1.894, allocations: 6.66 MB / 0.5588 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/1.896, allocations: 0.7991 MB / 0.5596 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/1.896, allocations: 286.2 kB / 0.5599 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/1.896, allocations: 294.8 kB / 0.5601 GB, free: 2.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/1.897, allocations: 326.4 kB / 0.5605 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/1.897, allocations: 28 kB / 0.5605 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02921/1.926, allocations: 15 MB / 0.5751 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/1.926, allocations: 111.5 kB / 0.5752 GB, free: 2.863 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005014/1.927, allocations: 328 kB / 0.5756 GB, free: 2.535 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02122/1.948, allocations: 7.859 MB / 0.5832 GB, free: 10.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.948, allocations: 0 / 0.5832 GB, free: 10.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.374e-06/1.948, allocations: 0 / 0.5832 GB, free: 10.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.887e-05/1.948, allocations: 3.938 kB / 0.5832 GB, free: 10.65 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006567/1.955, allocations: 1.857 MB / 0.585 GB, free: 8.738 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.955, allocations: 8.031 kB / 0.5851 GB, free: 8.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/1.955, allocations: 75.09 kB / 0.5851 GB, free: 8.656 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/1.956, allocations: 370.3 kB / 0.5855 GB, free: 8.254 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/1.956, allocations: 78.64 kB / 0.5855 GB, free: 8.172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.956, allocations: 55.98 kB / 0.5856 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/1.958, allocations: 0.7419 MB / 0.5863 GB, free: 7.336 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.958, allocations: 4 kB / 0.5863 GB, free: 7.332 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/1.958, allocations: 20 kB / 0.5864 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/1.958, allocations: 23.92 kB / 0.5864 GB, free: 7.289 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/1.96, allocations: 0.7379 MB / 0.5871 GB, free: 6.551 MB / 478.1 MB 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.004166/1.964, allocations: 3.337 MB / 0.5904 GB, free: 2.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/1.967, allocations: 0.7969 MB / 0.5911 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/1.968, allocations: 388.6 kB / 0.5915 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08615/2.054, allocations: 44.48 MB / 0.6349 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/2.055, allocations: 455.8 kB / 0.6354 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=80): time 3.727e-06/2.055, allocations: 0 / 0.6354 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=80): time 0.007815/2.063, allocations: 2.125 MB / 0.6374 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/2.063, allocations: 107.2 kB / 0.6376 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/2.064, allocations: 373.5 kB / 0.6379 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/2.064, allocations: 37.7 kB / 0.6379 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/2.064, allocations: 256.6 kB / 0.6382 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/2.064, allocations: 275.9 kB / 0.6385 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/2.064, allocations: 77.67 kB / 0.6385 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001817/2.065, allocations: 366.8 kB / 0.6389 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009794/2.065, allocations: 325.5 kB / 0.6392 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/2.067, allocations: 481.3 kB / 0.6396 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00834/2.075, allocations: 2.195 MB / 0.6418 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/2.075, allocations: 4 kB / 0.6418 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003484/2.078, allocations: 1.263 MB / 0.643 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/2.079, allocations: 39.03 kB / 0.6431 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/2.079, allocations: 8 kB / 0.6431 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003802/2.082, allocations: 0.9764 MB / 0.644 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/2.083, allocations: 175.8 kB / 0.6442 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/2.085, allocations: 1.77 MB / 0.6459 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007349/2.086, allocations: 127.2 kB / 0.646 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/2.086, allocations: 27.98 kB / 0.6461 GB, free: 3.941 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (Valve.C2.b,Valve.C1.a,Tank.Cs1.b,Tank.Ce2.a,Tank.Cs2.b,Tank.Ce1.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.a,$PRE.Pulse1.T0,Pulse1.yL.signal,Pulse1.T0,$whenCondition1,Tank.Cs1.a,Tank.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(8,25), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003594/2.087, allocations: 219.4 kB / 0.6463 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/2.087, allocations: 51.34 kB / 0.6463 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/2.09, allocations: 1.477 MB / 0.6478 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002677/2.093, allocations: 1.185 MB / 0.6489 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/2.093, allocations: 0 / 0.6489 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/2.093, allocations: 11.92 kB / 0.6489 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004817/2.097, allocations: 2.419 MB / 0.6513 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/2.097, allocations: 0 / 0.6513 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/2.099, allocations: 231.8 kB / 0.6515 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/2.1, allocations: 0.5935 MB / 0.6521 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/2.101, allocations: 19.98 kB / 0.6521 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/2.102, allocations: 1.571 MB / 0.6537 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/2.102, allocations: 0 / 0.6537 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/2.106, allocations: 1.844 MB / 0.6555 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/2.107, allocations: 214.2 kB / 0.6557 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/2.107, allocations: 19.94 kB / 0.6557 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006615/2.107, allocations: 91.86 kB / 0.6558 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/2.107, allocations: 56.91 kB / 0.6558 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/2.108, allocations: 27.98 kB / 0.6558 GB, free: 9.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002707/2.108, allocations: 247.2 kB / 0.6561 GB, free: 9.461 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/2.108, allocations: 0 / 0.6561 GB, free: 9.461 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00343/2.111, allocations: 1.183 MB / 0.6572 GB, free: 8.277 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Motor1.w,Motor1.Im,DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Tank.z,Tank.h,Shaft1.delta) * Number of discrete variables: 3 ($whenCondition1,Pulse1.T0,Pulse1.yL.signal) * Number of discrete states: 3 (Pulse1.yL.signal,Pulse1.T0,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,16), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005638/2.117, allocations: 1.624 MB / 0.6588 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003579/2.121, allocations: 1.204 MB / 0.66 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/2.121, allocations: 7.938 kB / 0.66 GB, free: 5.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/2.122, allocations: 0.6613 MB / 0.6606 GB, free: 4.734 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/2.124, allocations: 190.2 kB / 0.6608 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/2.127, allocations: 2.318 MB / 0.6631 GB, free: 2.207 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/2.128, allocations: 0.9427 MB / 0.664 GB, free: 1.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003638/2.128, allocations: 68.55 kB / 0.6641 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/2.129, allocations: 47.42 kB / 0.6641 GB, free: 1.117 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/2.129, allocations: 4 kB / 0.6641 GB, free: 1.113 MB / 0.545 GB Notification: Performance of Templates: time 0.2475/2.376, allocations: 46.28 MB / 0.7093 GB, free: 224.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCentrifugalPump.pipe 2>&1) Environment - environmentSimulation: