Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.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.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicOnePhaseFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicOnePhaseFlowPipe",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.8099/0.8099, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.621e-05/1.616e-05, allocations: 4 kB / 204.9 MB, free: 9.965 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1632, allocations: 31.99 MB / 236.9 MB, free: 5.258 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.TestDynamicOnePhaseFlowPipe): time 1.926/2.089, allocations: 295.6 MB / 0.52 GB, free: 8.961 MB / 414.2 MB Notification: Performance of NFInst.instExpressions: time 0.2145/2.304, allocations: 194.4 MB / 0.7099 GB, free: 7.926 MB / 0.592 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/2.304, allocations: 7.938 kB / 0.7099 GB, free: 7.918 MB / 0.592 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/2.305, allocations: 95.42 kB / 0.71 GB, free: 7.824 MB / 0.592 GB Notification: Performance of NFTyping.typeBindings: time 0.0007652/2.305, allocations: 402 kB / 0.7103 GB, free: 7.43 MB / 0.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.3573/2.663, allocations: 10.87 MB / 0.721 GB, free: 10.98 MB / 0.592 GB Notification: Performance of NFFlatten.flatten: time 0.006438/2.669, allocations: 5.454 MB / 0.7263 GB, free: 10.97 MB / 0.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003365/2.673, allocations: 1.679 MB / 0.7279 GB, free: 10.89 MB / 0.592 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/2.675, allocations: 1.348 MB / 0.7292 GB, free: 10.89 MB / 0.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003403/2.679, allocations: 2.001 MB / 0.7312 GB, free: 10.89 MB / 0.592 GB Notification: Performance of NFPackage.collectConstants: time 0.001261/2.68, allocations: 193.1 kB / 0.7314 GB, free: 10.89 MB / 0.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04166/2.722, allocations: 23.21 MB / 0.7541 GB, free: 10.29 MB / 0.592 GB Notification: Performance of NFScalarize.scalarize: time 0.002236/2.724, allocations: 1.293 MB / 0.7553 GB, free: 9.867 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.002342/2.726, allocations: 1.52 MB / 0.7568 GB, free: 9.637 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.03302/2.759, allocations: 14.96 MB / 0.7714 GB, free: 3.797 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/2.759, allocations: 0 / 0.7714 GB, free: 3.797 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.693e-06/2.759, allocations: 0 / 0.7714 GB, free: 3.797 MB / 0.592 GB Notification: Performance of Transformations before backend: time 9.194e-05/2.76, allocations: 2.375 kB / 0.7714 GB, free: 3.797 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.01487/2.774, allocations: 4.266 MB / 0.7756 GB, free: 1.395 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/2.774, allocations: 15.66 kB / 0.7756 GB, free: 1.391 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/2.776, allocations: 378.4 kB / 0.776 GB, free: 1.277 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000731/2.776, allocations: 274.2 kB / 0.7762 GB, free: 1.156 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/2.779, allocations: 1.318 MB / 0.7775 GB, free: 0.5586 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004353/2.779, allocations: 0.5002 MB / 0.778 GB, free: 228 kB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005507/2.78, allocations: 281.2 kB / 0.7783 GB, free: 224 kB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00697/2.787, allocations: 4.933 MB / 0.7831 GB, free: 14.43 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.743e-05/2.787, allocations: 10.31 kB / 0.7831 GB, free: 14.43 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/2.787, allocations: 108.6 kB / 0.7832 GB, free: 14.43 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/2.787, allocations: 69.75 kB / 0.7833 GB, free: 14.43 MB / 0.6077 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/2.806, allocations: 12.17 MB / 0.7951 GB, free: 5.18 MB / 0.6077 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.04816/2.854, allocations: 29.23 MB / 0.8237 GB, free: 9.094 MB / 0.6389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/2.869, allocations: 4.497 MB / 0.8281 GB, free: 4.609 MB / 0.6389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00473/2.874, allocations: 2.27 MB / 0.8303 GB, free: 2.336 MB / 0.6389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7521/3.626, allocations: 287.1 MB / 1.111 GB, free: 348.2 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/3.626, allocations: 72.89 kB / 1.111 GB, free: 348.1 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=339): time 4.939e-06/3.626, allocations: 0 / 1.111 GB, free: 348.1 MB / 0.8108 GB Notification: Performance of matching and sorting (n=339): time 0.01851/3.645, allocations: 9.238 MB / 1.12 GB, free: 340.6 MB / 0.8108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/3.645, allocations: 90.08 kB / 1.12 GB, free: 340.5 MB / 0.8108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/3.646, allocations: 1.081 MB / 1.121 GB, free: 339.7 MB / 0.8108 GB Notification: Performance of collectPreVariables (initialization): time 0.0002952/3.646, allocations: 90.58 kB / 1.121 GB, free: 339.6 MB / 0.8108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/3.647, allocations: 0.7517 MB / 1.122 GB, free: 339.1 MB / 0.8108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007681/3.647, allocations: 1.218 MB / 1.123 GB, free: 338 MB / 0.8108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004043/3.648, allocations: 325.8 kB / 1.123 GB, free: 337.8 MB / 0.8108 GB Notification: Performance of setup shared object (initialization): time 3.421e-05/3.648, allocations: 301.1 kB / 1.123 GB, free: 337.5 MB / 0.8108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/3.651, allocations: 2.118 MB / 1.126 GB, free: 336.1 MB / 0.8108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/3.655, allocations: 2.9 MB / 1.128 GB, free: 333.7 MB / 0.8108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007157/3.662, allocations: 5.32 MB / 1.134 GB, free: 328.9 MB / 0.8108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/3.662, allocations: 8 kB / 1.134 GB, free: 328.9 MB / 0.8108 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01046/3.672, allocations: 6.778 MB / 1.14 GB, free: 322.1 MB / 0.8108 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/3.673, allocations: 12 kB / 1.14 GB, free: 322.1 MB / 0.8108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/3.673, allocations: 21.19 kB / 1.14 GB, free: 322.1 MB / 0.8108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02406/3.697, allocations: 6.619 MB / 1.147 GB, free: 315.5 MB / 0.8108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005138/3.702, allocations: 0.8699 MB / 1.148 GB, free: 314.6 MB / 0.8108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007438/3.709, allocations: 5.097 MB / 1.153 GB, free: 309.5 MB / 0.8108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/3.713, allocations: 416 kB / 1.153 GB, free: 309.1 MB / 0.8108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004574/3.713, allocations: 195.9 kB / 1.153 GB, free: 308.9 MB / 0.8108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,dynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 309 * 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 {(21,148)} Notification: Performance of prepare postOptimizeDAE: time 0.001306/3.714, allocations: 0.6863 MB / 1.154 GB, free: 308.2 MB / 0.8108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/3.715, allocations: 213.8 kB / 1.154 GB, free: 308 MB / 0.8108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/3.727, allocations: 6.395 MB / 1.16 GB, free: 301.6 MB / 0.8108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/3.727, allocations: 35.94 kB / 1.16 GB, free: 301.5 MB / 0.8108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/3.727, allocations: 10.06 kB / 1.16 GB, free: 301.5 MB / 0.8108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-05/3.727, allocations: 15.94 kB / 1.16 GB, free: 301.5 MB / 0.8108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.275/4.002, allocations: 165.8 MB / 1.322 GB, free: 118.2 MB / 0.8108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/4.002, allocations: 1.969 kB / 1.322 GB, free: 118.2 MB / 0.8108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004589/4.007, allocations: 0.8194 MB / 1.323 GB, free: 117.4 MB / 0.8108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003622/4.01, allocations: 1.05 MB / 1.324 GB, free: 116.3 MB / 0.8108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007994/4.011, allocations: 143.9 kB / 1.324 GB, free: 116.1 MB / 0.8108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/4.027, allocations: 27.96 MB / 1.351 GB, free: 85.56 MB / 0.8108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/4.027, allocations: 9.656 kB / 1.351 GB, free: 85.56 MB / 0.8108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/4.04, allocations: 7.945 MB / 1.359 GB, free: 77.48 MB / 0.8108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/4.042, allocations: 0.7911 MB / 1.36 GB, free: 76.66 MB / 0.8108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003999/4.042, allocations: 90.05 kB / 1.36 GB, free: 76.58 MB / 0.8108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/4.044, allocations: 139.7 kB / 1.36 GB, free: 76.44 MB / 0.8108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007661/4.045, allocations: 349.9 kB / 1.361 GB, free: 76.1 MB / 0.8108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/4.045, allocations: 135.9 kB / 1.361 GB, free: 75.96 MB / 0.8108 GB Notification: Performance of sorting global known variables: time 0.0008178/4.046, allocations: 0.7094 MB / 1.361 GB, free: 75.25 MB / 0.8108 GB Notification: Performance of sort global known variables: time 1.6e-07/4.046, allocations: 0 / 1.361 GB, free: 75.25 MB / 0.8108 GB Notification: Performance of remove unused functions: time 0.008742/4.055, allocations: 2.796 MB / 1.364 GB, free: 72.68 MB / 0.8108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 41 (dynamicOnePhaseFlowPipe.P[2],dynamicOnePhaseFlowPipe.P[3],dynamicOnePhaseFlowPipe.P[4],dynamicOnePhaseFlowPipe.P[5],dynamicOnePhaseFlowPipe.P[6],dynamicOnePhaseFlowPipe.P[7],dynamicOnePhaseFlowPipe.P[8],dynamicOnePhaseFlowPipe.P[9],dynamicOnePhaseFlowPipe.P[10],dynamicOnePhaseFlowPipe.P[11],dynamicOnePhaseFlowPipe.Q[1],dynamicOnePhaseFlowPipe.Q[2],dynamicOnePhaseFlowPipe.Q[3],dynamicOnePhaseFlowPipe.Q[4],dynamicOnePhaseFlowPipe.Q[5],dynamicOnePhaseFlowPipe.Q[6],dynamicOnePhaseFlowPipe.Q[7],dynamicOnePhaseFlowPipe.Q[8],dynamicOnePhaseFlowPipe.Q[9],dynamicOnePhaseFlowPipe.Q[10],dynamicOnePhaseFlowPipe.Q[11],dynamicOnePhaseFlowPipe.h[2],dynamicOnePhaseFlowPipe.h[3],dynamicOnePhaseFlowPipe.h[4],dynamicOnePhaseFlowPipe.h[5],dynamicOnePhaseFlowPipe.h[6],dynamicOnePhaseFlowPipe.h[7],dynamicOnePhaseFlowPipe.h[8],dynamicOnePhaseFlowPipe.h[9],dynamicOnePhaseFlowPipe.h[10],dynamicOnePhaseFlowPipe.h[11],heatExchangerWall.Tp[1],heatExchangerWall.Tp[2],heatExchangerWall.Tp[3],heatExchangerWall.Tp[4],heatExchangerWall.Tp[5],heatExchangerWall.Tp[6],heatExchangerWall.Tp[7],heatExchangerWall.Tp[8],heatExchangerWall.Tp[9],heatExchangerWall.Tp[10]) * 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 (319): * Single equations (assignments): 299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02232/4.077, allocations: 11.55 MB / 1.375 GB, free: 61.37 MB / 0.8108 GB Notification: Performance of simCode: created initialization part: time 0.0121/4.09, allocations: 5.407 MB / 1.381 GB, free: 55.95 MB / 0.8108 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/4.09, allocations: 0 / 1.381 GB, free: 55.95 MB / 0.8108 GB Notification: Performance of simCode: created simulation system equations: time 0.007072/4.097, allocations: 4.942 MB / 1.385 GB, free: 50.75 MB / 0.8108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/4.099, allocations: 448 kB / 1.386 GB, free: 50.33 MB / 0.8108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05222/4.151, allocations: 35.7 MB / 1.421 GB, free: 13 MB / 0.8108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/4.153, allocations: 1.712 MB / 1.422 GB, free: 11.26 MB / 0.8108 GB Notification: Performance of simCode: alias equations: time 0.004143/4.157, allocations: 1.323 MB / 1.424 GB, free: 10.01 MB / 0.8108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/4.159, allocations: 0.9678 MB / 1.425 GB, free: 9.039 MB / 0.8108 GB Notification: Performance of SimCode: time 1.854e-06/4.159, allocations: 0 / 1.425 GB, free: 9.039 MB / 0.8108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3675/4.526, allocations: 131.4 MB / 1.553 GB, free: 355.8 MB / 0.8108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/4.526, allocations: 304.7 kB / 1.553 GB, free: 355.5 MB / 0.8108 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/11.44, allocations: 3.938 kB / 1.553 GB, free: 355.4 MB / 0.8108 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicOnePhaseFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicOnePhaseFlowPipe.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe 2>&1)