Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.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.TestDiffusion_DynamicOnePhaseFlowPipe,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_DynamicOnePhaseFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_DynamicOnePhaseFlowPipe",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.9131/0.9131, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.795e-05, allocations: 4 kB / 204.9 MB, free: 9.953 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2604, allocations: 31.98 MB / 236.8 MB, free: 5.414 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.TestDiffusion_DynamicOnePhaseFlowPipe): time 1.995/2.256, allocations: 298.1 MB / 0.5224 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7927/3.049, allocations: 195.4 MB / 0.7132 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000971/3.05, allocations: 27.66 kB / 0.7132 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005473/3.05, allocations: 198.6 kB / 0.7134 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/3.052, allocations: 0.8312 MB / 0.7142 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04223/3.094, allocations: 11.28 MB / 0.7252 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01177/3.106, allocations: 10.94 MB / 0.7359 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007905/3.114, allocations: 3.403 MB / 0.7392 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008237/3.122, allocations: 2.733 MB / 0.7419 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009916/3.132, allocations: 4.188 MB / 0.746 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003659/3.136, allocations: 390.7 kB / 0.7464 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06054/3.197, allocations: 23.75 MB / 0.7695 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005441/3.202, allocations: 2.594 MB / 0.7721 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01054/3.213, allocations: 3.04 MB / 0.7751 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05058/3.263, allocations: 19.04 MB / 0.7936 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/3.263, allocations: 3.938 kB / 0.7937 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/3.263, allocations: 0 / 0.7937 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002988/3.264, allocations: 0 / 0.7937 GB, free: 8.984 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1372 * Number of variables: 1372 Notification: Performance of Generate backend data structure: time 0.02743/3.291, allocations: 7.166 MB / 0.8006 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/3.291, allocations: 12.03 kB / 0.8007 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002958/3.294, allocations: 0.7345 MB / 0.8014 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/3.297, allocations: 0.541 MB / 0.8019 GB, free: 456 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005568/3.302, allocations: 2.53 MB / 0.8044 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/3.303, allocations: 0.9906 MB / 0.8053 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/3.305, allocations: 0.5039 MB / 0.8058 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03214/3.337, allocations: 9.352 MB / 0.815 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003202/3.338, allocations: 4 kB / 0.815 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00303/3.341, allocations: 216 kB / 0.8152 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/3.341, allocations: 130.9 kB / 0.8153 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03572/3.376, allocations: 22.96 MB / 0.8377 GB, free: 11.65 MB / 0.6544 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.08955/3.466, allocations: 43.74 MB / 0.8804 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03458/3.501, allocations: 11.85 MB / 0.892 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01241/3.513, allocations: 5.286 MB / 0.8972 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.82/4.333, allocations: 291.6 MB / 1.182 GB, free: 236.9 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/4.333, allocations: 114 kB / 1.182 GB, free: 236.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=807): time 1.739e-05/4.333, allocations: 0 / 1.182 GB, free: 236.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=807): time 0.04621/4.38, allocations: 20.05 MB / 1.202 GB, free: 220.4 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.349e-05/4.38, allocations: 226.7 kB / 1.202 GB, free: 220.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/4.382, allocations: 1.853 MB / 1.204 GB, free: 218.3 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001521/4.384, allocations: 153.7 kB / 1.204 GB, free: 218.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006978/4.384, allocations: 1.099 MB / 1.205 GB, free: 217.1 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003288/4.388, allocations: 2.733 MB / 1.208 GB, free: 214.3 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001674/4.389, allocations: 0.548 MB / 1.208 GB, free: 213.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/4.389, allocations: 301.1 kB / 1.208 GB, free: 213.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007837/4.397, allocations: 4.226 MB / 1.213 GB, free: 209.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00834/4.406, allocations: 5.084 MB / 1.217 GB, free: 204 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01644/4.422, allocations: 10.13 MB / 1.227 GB, free: 193.6 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.229e-05/4.422, allocations: 11.94 kB / 1.227 GB, free: 193.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03045/4.453, allocations: 14.76 MB / 1.242 GB, free: 178.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/4.453, allocations: 63.41 kB / 1.242 GB, free: 178.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/4.453, allocations: 16 kB / 1.242 GB, free: 178.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0962/4.549, allocations: 27 MB / 1.268 GB, free: 151.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007905/4.557, allocations: 1.131 MB / 1.269 GB, free: 150.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03402/4.591, allocations: 41.45 MB / 1.31 GB, free: 106.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006956/4.598, allocations: 0.7587 MB / 1.311 GB, free: 105.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/4.599, allocations: 351.8 kB / 1.311 GB, free: 105.4 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 17 (sourceP1.C.ftype,dynamicOnePhaseFlowPipe1.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.C.ftype,switchValve.C2.diff_on_1,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,switchValve.fluid,nONL.yL.signal,echelon.yL.signal,sourceP.fluid1,dynamicOnePhaseFlowPipe1.C1.diff_on_2,dynamicOnePhaseFlowPipe1.C2.diff_on_1,dynamicOnePhaseFlowPipe.C1.diff_on_2,sourceP.C.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 (351): * Single equations (assignments): 327 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(32,214), (33,218)} Notification: Performance of prepare postOptimizeDAE: time 0.002661/4.602, allocations: 1.27 MB / 1.312 GB, free: 104.1 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008806/4.603, allocations: 435.1 kB / 1.313 GB, free: 103.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0293/4.632, allocations: 16.65 MB / 1.329 GB, free: 86.95 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.794e-05/4.632, allocations: 79.98 kB / 1.329 GB, free: 86.88 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/4.632, allocations: 8 kB / 1.329 GB, free: 86.87 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001328/4.633, allocations: 37.8 kB / 1.329 GB, free: 86.83 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04323/4.676, allocations: 24.78 MB / 1.353 GB, free: 62.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-05/4.676, allocations: 0 / 1.353 GB, free: 62.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005758/4.682, allocations: 0.9559 MB / 1.354 GB, free: 61.06 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09195/4.774, allocations: 21.34 MB / 1.375 GB, free: 39.86 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002096/4.776, allocations: 243.8 kB / 1.375 GB, free: 39.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2617/5.037, allocations: 41.1 MB / 1.415 GB, free: 410.3 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/5.038, allocations: 1.344 kB / 1.415 GB, free: 410.3 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0328/5.07, allocations: 14.18 MB / 1.429 GB, free: 409.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004587/5.075, allocations: 1.619 MB / 1.431 GB, free: 409.4 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001875/5.077, allocations: 132.2 kB / 1.431 GB, free: 409.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005987/5.083, allocations: 333 kB / 1.431 GB, free: 409.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002371/5.085, allocations: 0.5239 MB / 1.432 GB, free: 409.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00127/5.087, allocations: 286.3 kB / 1.432 GB, free: 409.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001739/5.088, allocations: 1.277 MB / 1.433 GB, free: 409.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/5.088, allocations: 0 / 1.433 GB, free: 409.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01173/5.1, allocations: 3.842 MB / 1.437 GB, free: 409.1 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (echelon.yL.signal,nONL.yL.signal) * Number of discrete states: 2 (echelon.yL.signal,nONL.yL.signal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(32,205), (33,208)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04916/5.149, allocations: 17.71 MB / 1.454 GB, free: 406.4 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02775/5.177, allocations: 13.64 MB / 1.468 GB, free: 400.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/5.177, allocations: 2.5 kB / 1.468 GB, free: 400.3 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01734/5.194, allocations: 8.555 MB / 1.476 GB, free: 392.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008397/5.203, allocations: 0.8972 MB / 1.477 GB, free: 391.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1474/5.35, allocations: 71.31 MB / 1.546 GB, free: 321 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002751/5.353, allocations: 2.768 MB / 1.549 GB, free: 318.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006058/5.359, allocations: 1.58 MB / 1.551 GB, free: 316.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002832/5.362, allocations: 1.667 MB / 1.552 GB, free: 315.1 MB / 0.795 GB Notification: Performance of SimCode: time 1.203e-06/5.362, allocations: 0 / 1.552 GB, free: 315.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.481/5.843, allocations: 227.8 MB / 1.775 GB, free: 396.9 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/5.843, allocations: 318.6 kB / 1.775 GB, free: 396.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.802/15.65, allocations: 0 / 1.775 GB, free: 396.5 MB / 0.795 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_DynamicOnePhaseFlowPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_DynamicOnePhaseFlowPipe.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe 2>&1)