Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 1.221/1.221, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.483e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2243, allocations: 31.97 MB / 236.8 MB, free: 5.32 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.TestDiaphragm): time 1.852/2.076, allocations: 293.6 MB / 0.5179 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05221/2.129, allocations: 37.24 MB / 0.5543 GB, free: 8.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/2.129, allocations: 4 kB / 0.5543 GB, free: 8.441 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004645/2.129, allocations: 87.55 kB / 0.5544 GB, free: 8.355 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/2.13, allocations: 83.38 kB / 0.5545 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03023/2.16, allocations: 7.362 MB / 0.5617 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006565/2.161, allocations: 330.9 kB / 0.562 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/2.161, allocations: 98.81 kB / 0.5621 GB, free: 500 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/2.161, allocations: 127.4 kB / 0.5622 GB, free: 372 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/2.161, allocations: 95.45 kB / 0.5623 GB, free: 276 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/2.161, allocations: 8 kB / 0.5623 GB, free: 268 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0362/2.198, allocations: 17.88 MB / 0.5797 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/2.198, allocations: 39.77 kB / 0.5798 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/2.198, allocations: 149 kB / 0.5799 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02626/2.224, allocations: 8.386 MB / 0.5881 GB, free: 5.758 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/2.224, allocations: 0 / 0.5881 GB, free: 5.758 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.595e-06/2.224, allocations: 4 kB / 0.5881 GB, free: 5.754 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/2.224, allocations: 0 / 0.5881 GB, free: 5.754 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.005284/2.23, allocations: 1.408 MB / 0.5895 GB, free: 4.293 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/2.23, allocations: 8.031 kB / 0.5895 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/2.23, allocations: 31.62 kB / 0.5895 GB, free: 4.254 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/2.23, allocations: 228.6 kB / 0.5898 GB, free: 3.992 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/2.23, allocations: 16.44 kB / 0.5898 GB, free: 3.977 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/2.23, allocations: 20 kB / 0.5898 GB, free: 3.957 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/2.231, allocations: 317.1 kB / 0.5901 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/2.231, allocations: 3.938 kB / 0.5901 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/2.231, allocations: 4 kB / 0.5901 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/2.231, allocations: 19.92 kB / 0.5901 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/2.231, allocations: 177 kB / 0.5903 GB, free: 3.418 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.03946/2.271, allocations: 18.19 MB / 0.608 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/2.271, allocations: 150.5 kB / 0.6082 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/2.271, allocations: 88.84 kB / 0.6083 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1686/2.44, allocations: 78.13 MB / 0.6846 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/2.44, allocations: 34.56 kB / 0.6846 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 3.416e-06/2.44, allocations: 3.938 kB / 0.6846 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.001049/2.441, allocations: 423.4 kB / 0.685 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/2.441, allocations: 81.11 kB / 0.6851 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/2.442, allocations: 227.1 kB / 0.6853 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/2.442, allocations: 25.7 kB / 0.6853 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/2.442, allocations: 152.4 kB / 0.6855 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/2.442, allocations: 110.3 kB / 0.6856 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/2.442, allocations: 33.7 kB / 0.6856 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001302/2.442, allocations: 334.8 kB / 0.6859 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/2.442, allocations: 75.97 kB / 0.686 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/2.442, allocations: 134 kB / 0.6861 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/2.443, allocations: 225.6 kB / 0.6863 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/2.443, allocations: 3.938 kB / 0.6864 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005333/2.443, allocations: 294 kB / 0.6866 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/2.443, allocations: 11.94 kB / 0.6866 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/2.443, allocations: 0 / 0.6866 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/2.444, allocations: 164.8 kB / 0.6868 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/2.444, allocations: 12 kB / 0.6868 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005502/2.445, allocations: 0.6186 MB / 0.6874 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/2.445, allocations: 27.62 kB / 0.6874 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/2.445, allocations: 8 kB / 0.6875 GB, free: 5.066 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000143/2.445, allocations: 141.9 kB / 0.6876 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/2.445, allocations: 23.72 kB / 0.6876 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009976/2.446, allocations: 0.6031 MB / 0.6882 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005933/2.447, allocations: 222.3 kB / 0.6884 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/2.447, allocations: 3.938 kB / 0.6884 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/2.447, allocations: 5.453 kB / 0.6884 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/2.448, allocations: 0.7461 MB / 0.6891 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/2.448, allocations: 4 kB / 0.6892 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-05/2.448, allocations: 16 kB / 0.6892 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007565/2.449, allocations: 149.9 kB / 0.6893 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/2.449, allocations: 4 kB / 0.6893 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005369/2.45, allocations: 0.6482 MB / 0.6899 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.45, allocations: 0 / 0.6899 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006589/2.45, allocations: 344.9 kB / 0.6903 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/2.451, allocations: 140.7 kB / 0.6904 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/2.451, allocations: 7.938 kB / 0.6904 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/2.451, allocations: 4 kB / 0.6904 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/2.451, allocations: 16.72 kB / 0.6904 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/2.451, allocations: 0 / 0.6904 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002768/2.451, allocations: 241.9 kB / 0.6907 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.703e-06/2.451, allocations: 4 kB / 0.6907 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003599/2.455, allocations: 1.21 MB / 0.6919 GB, free: 356 kB / 0.5762 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 (13): * Single equations (assignments): 12 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2038/2.659, allocations: 1.791 MB / 0.6936 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007423/2.659, allocations: 242.5 kB / 0.6938 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/2.659, allocations: 2.469 kB / 0.6938 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/2.66, allocations: 97.25 kB / 0.6939 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008575/2.66, allocations: 118.9 kB / 0.694 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/2.661, allocations: 0.6439 MB / 0.6947 GB, free: 228.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/2.662, allocations: 0.7679 MB / 0.6954 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001237/2.662, allocations: 28.62 kB / 0.6954 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/2.662, allocations: 25.34 kB / 0.6955 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/2.662, allocations: 0 / 0.6955 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.05211/2.714, allocations: 42.37 MB / 0.7368 GB, free: 207.6 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) Environment - environmentSimulation: