Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestBend,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8107/0.8107, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.528e-05, allocations: 4 kB / 204.9 MB, free: 9.973 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 31.98 MB / 236.8 MB, free: 5.406 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.TestBend): time 1.553/1.695, allocations: 294.7 MB / 0.5191 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0408/1.736, allocations: 37.66 MB / 0.5559 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/1.736, allocations: 8 kB / 0.5559 GB, free: 7.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004381/1.737, allocations: 239.3 kB / 0.5561 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/1.737, allocations: 239.1 kB / 0.5563 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01833/1.755, allocations: 7.498 MB / 0.5637 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005769/1.756, allocations: 474.8 kB / 0.5641 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/1.756, allocations: 166.8 kB / 0.5643 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/1.757, allocations: 203.2 kB / 0.5645 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/1.757, allocations: 279.1 kB / 0.5647 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/1.757, allocations: 12 kB / 0.5648 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02643/1.783, allocations: 17.94 MB / 0.5823 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/1.784, allocations: 163.4 kB / 0.5824 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002501/1.784, allocations: 279.9 kB / 0.5827 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01448/1.798, allocations: 8.763 MB / 0.5913 GB, free: 3.402 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/1.798, allocations: 0 / 0.5913 GB, free: 3.402 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/1.798, allocations: 0 / 0.5913 GB, free: 3.402 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/1.798, allocations: 0 / 0.5913 GB, free: 3.402 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004109/1.802, allocations: 1.722 MB / 0.5929 GB, free: 1.629 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.803, allocations: 8.031 kB / 0.5929 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.974e-05/1.803, allocations: 74.47 kB / 0.593 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.963e-05/1.803, allocations: 75.06 kB / 0.5931 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/1.803, allocations: 490.3 kB / 0.5936 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/1.803, allocations: 16.56 kB / 0.5936 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/1.803, allocations: 28.64 kB / 0.5936 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/1.804, allocations: 433.3 kB / 0.594 GB, free: 448 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/1.804, allocations: 0 / 0.594 GB, free: 448 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/1.804, allocations: 12 kB / 0.594 GB, free: 436 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/1.804, allocations: 19.92 kB / 0.594 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/1.804, allocations: 351.1 kB / 0.5944 GB, free: 68 kB / 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.0382/1.843, allocations: 18.7 MB / 0.6126 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/1.843, allocations: 174.5 kB / 0.6128 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/1.843, allocations: 110.1 kB / 0.6129 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1544/1.998, allocations: 78.13 MB / 0.6892 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/1.998, allocations: 34.56 kB / 0.6893 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 1.944e-06/1.998, allocations: 0 / 0.6893 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.00188/2, allocations: 0.5956 MB / 0.6898 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/2, allocations: 110.8 kB / 0.6899 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/2.001, allocations: 1.004 MB / 0.6909 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/2.001, allocations: 33.7 kB / 0.691 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/2.001, allocations: 296.2 kB / 0.6912 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/2.002, allocations: 130.1 kB / 0.6914 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/2.002, allocations: 33.7 kB / 0.6914 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001503/2.002, allocations: 382.7 kB / 0.6918 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/2.002, allocations: 160.4 kB / 0.6919 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/2.002, allocations: 239.1 kB / 0.6921 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/2.003, allocations: 336.4 kB / 0.6925 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/2.003, allocations: 4 kB / 0.6925 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007514/2.003, allocations: 0.5346 MB / 0.693 GB, free: 244 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/2.003, allocations: 4 kB / 0.693 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/2.003, allocations: 0 / 0.693 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1629/2.166, allocations: 245 kB / 0.6932 GB, free: 227.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/2.166, allocations: 20.84 kB / 0.6932 GB, free: 227.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006343/2.167, allocations: 0.6745 MB / 0.6939 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/2.167, allocations: 44.66 kB / 0.6939 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/2.167, allocations: 12.47 kB / 0.694 GB, free: 227.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.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 (18): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002668/2.168, allocations: 249.2 kB / 0.6942 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/2.168, allocations: 64.44 kB / 0.6943 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/2.169, allocations: 0.6906 MB / 0.6949 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003374/2.169, allocations: 260.7 kB / 0.6952 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/2.169, allocations: 0 / 0.6952 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/2.169, allocations: 7.438 kB / 0.6952 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/2.17, allocations: 0.9843 MB / 0.6961 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/2.17, allocations: 2.719 kB / 0.6961 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/2.17, allocations: 17.03 kB / 0.6962 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/2.172, allocations: 228.3 kB / 0.6964 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/2.172, allocations: 7.078 kB / 0.6964 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004743/2.172, allocations: 0.7077 MB / 0.6971 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/2.172, allocations: 2.125 kB / 0.6971 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/2.172, allocations: 406.8 kB / 0.6975 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/2.173, allocations: 206.2 kB / 0.6977 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/2.173, allocations: 6.609 kB / 0.6977 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/2.173, allocations: 12.8 kB / 0.6977 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/2.173, allocations: 18.22 kB / 0.6977 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/2.173, allocations: 8.266 kB / 0.6977 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001004/2.174, allocations: 0.8107 MB / 0.6985 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/2.174, allocations: 0 / 0.6985 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003195/2.177, allocations: 1.251 MB / 0.6997 GB, free: 225.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006221/2.184, allocations: 2.663 MB / 0.7023 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000632/2.184, allocations: 355.4 kB / 0.7027 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/2.184, allocations: 0.5 kB / 0.7027 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002654/2.184, allocations: 105.4 kB / 0.7028 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009155/2.185, allocations: 154.7 kB / 0.7029 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/2.193, allocations: 6.408 MB / 0.7092 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/2.193, allocations: 0.9384 MB / 0.7101 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000175/2.194, allocations: 60.03 kB / 0.7101 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/2.194, allocations: 231.7 kB / 0.7104 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/2.194, allocations: 1.031 kB / 0.7104 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06562/2.259, allocations: 52.89 MB / 0.762 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001252/2.26, allocations: 222.8 kB / 0.7622 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.114/6.373, allocations: 0 / 0.7622 GB, free: 184.6 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestBend.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1)