Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.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.TestFixedPowerHeatExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestFixedPowerHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestFixedPowerHeatExchanger",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.7443/0.7443, allocations: 150.9 MB / 166 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002724, allocations: 19.97 kB / 204.1 MB, free: 9.953 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1169, allocations: 31.33 MB / 235.4 MB, free: 5.406 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger): time 1.582/1.699, allocations: 295 MB / 0.518 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2017/1.901, allocations: 187 MB / 0.7007 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005309/1.901, allocations: 15.88 kB / 0.7007 GB, free: 0.5703 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:35:3-36:54:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:37:3-38:54:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:39:3-40:51:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:41:3-42:52:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004939/1.902, allocations: 120.2 kB / 0.7008 GB, free: 464 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006006/1.902, allocations: 222.3 kB / 0.701 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3628/2.265, allocations: 8.36 MB / 0.7092 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001295/2.267, allocations: 0.7852 MB / 0.7099 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005321/2.267, allocations: 374.5 kB / 0.7103 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004301/2.268, allocations: 321.3 kB / 0.7106 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/2.268, allocations: 313.2 kB / 0.7109 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/2.268, allocations: 46.91 kB / 0.711 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03754/2.305, allocations: 19.46 MB / 0.73 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002784/2.306, allocations: 128.9 kB / 0.7301 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006541/2.306, allocations: 371.3 kB / 0.7304 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02794/2.334, allocations: 10.01 MB / 0.7402 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/2.334, allocations: 0 / 0.7402 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.043e-06/2.334, allocations: 0 / 0.7402 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.57e-05/2.335, allocations: 0 / 0.7402 GB, free: 1.449 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.006034/2.341, allocations: 2.027 MB / 0.7422 GB, free: 192 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/2.341, allocations: 8.438 kB / 0.7422 GB, free: 192 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/2.341, allocations: 120.6 kB / 0.7423 GB, free: 132 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/2.341, allocations: 92.25 kB / 0.7424 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/2.342, allocations: 407.5 kB / 0.7428 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/2.342, allocations: 48.78 kB / 0.7428 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/2.342, allocations: 63.62 kB / 0.7429 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/2.343, allocations: 0.7051 MB / 0.7436 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/2.343, allocations: 5.875 kB / 0.7436 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/2.343, allocations: 26.56 kB / 0.7436 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/2.343, allocations: 32.92 kB / 0.7436 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000751/2.344, allocations: 432.2 kB / 0.7441 GB, free: 15.47 MB / 0.5919 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.01777/2.362, allocations: 11.95 MB / 0.7557 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/2.362, allocations: 133.1 kB / 0.7559 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/2.362, allocations: 98.8 kB / 0.756 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1587/2.521, allocations: 76.95 MB / 0.8311 GB, free: 7.438 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/2.521, allocations: 33.47 kB / 0.8311 GB, free: 7.398 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 3.096e-06/2.521, allocations: 1.094 kB / 0.8311 GB, free: 7.398 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.0009628/2.522, allocations: 329.1 kB / 0.8314 GB, free: 7.164 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/2.522, allocations: 85.09 kB / 0.8315 GB, free: 7.062 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008359/2.523, allocations: 0.4896 MB / 0.832 GB, free: 6.676 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/2.523, allocations: 33.7 kB / 0.832 GB, free: 6.637 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/2.523, allocations: 358.9 kB / 0.8324 GB, free: 6.359 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/2.523, allocations: 155.8 kB / 0.8325 GB, free: 6.227 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/2.523, allocations: 104.5 kB / 0.8326 GB, free: 6.152 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000187/2.524, allocations: 359.6 kB / 0.833 GB, free: 5.812 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/2.524, allocations: 98.25 kB / 0.8331 GB, free: 5.754 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/2.524, allocations: 287.5 kB / 0.8333 GB, free: 5.457 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/2.525, allocations: 425.3 kB / 0.8337 GB, free: 5.098 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/2.525, allocations: 0 / 0.8337 GB, free: 5.098 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007849/2.525, allocations: 468.2 kB / 0.8342 GB, free: 4.777 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/2.525, allocations: 8 kB / 0.8342 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/2.526, allocations: 4 kB / 0.8342 GB, free: 4.766 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/2.526, allocations: 8 kB / 0.8342 GB, free: 4.758 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/2.526, allocations: 78.92 kB / 0.8343 GB, free: 4.691 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/2.526, allocations: 10.91 kB / 0.8343 GB, free: 4.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/2.526, allocations: 74.36 kB / 0.8344 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/2.526, allocations: 24.12 kB / 0.8344 GB, free: 4.594 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,plateHeatExchanger.fluid_f,puitsP3.fluid,sourceP2.C.ftype,plateHeatExchanger.fluid_c,puitsP2.fluid,sourceP3.fluid1,sourceP2.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002637/2.527, allocations: 189.1 kB / 0.8346 GB, free: 4.445 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/2.527, allocations: 59.22 kB / 0.8346 GB, free: 4.391 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007997/2.528, allocations: 0.6377 MB / 0.8352 GB, free: 3.957 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005337/2.528, allocations: 451.6 kB / 0.8357 GB, free: 3.648 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/2.528, allocations: 4 kB / 0.8357 GB, free: 3.645 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/2.528, allocations: 7.984 kB / 0.8357 GB, free: 3.637 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/2.53, allocations: 1.539 MB / 0.8372 GB, free: 2.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/2.53, allocations: 3.938 kB / 0.8372 GB, free: 2.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/2.53, allocations: 73.53 kB / 0.8373 GB, free: 2.348 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/2.53, allocations: 4 kB / 0.8373 GB, free: 2.344 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/2.531, allocations: 11 kB / 0.8373 GB, free: 2.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/2.531, allocations: 4 kB / 0.8373 GB, free: 2.336 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/2.531, allocations: 8.109 kB / 0.8373 GB, free: 2.328 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/2.531, allocations: 0.6881 MB / 0.838 GB, free: 1.762 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/2.532, allocations: 182.6 kB / 0.8381 GB, free: 1.582 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/2.532, allocations: 7.625 kB / 0.8381 GB, free: 1.578 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/2.532, allocations: 22.83 kB / 0.8382 GB, free: 1.562 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/2.532, allocations: 30.38 kB / 0.8382 GB, free: 1.539 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/2.532, allocations: 19.75 kB / 0.8382 GB, free: 1.523 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004119/2.532, allocations: 340.1 kB / 0.8385 GB, free: 1.266 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/2.532, allocations: 0 / 0.8385 GB, free: 1.266 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005157/2.538, allocations: 1.491 MB / 0.84 GB, free: 15.88 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009994/2.548, allocations: 3.364 MB / 0.8433 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009056/2.549, allocations: 0.5737 MB / 0.8438 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/2.549, allocations: 0 / 0.8438 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/2.549, allocations: 230.6 kB / 0.8441 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/2.55, allocations: 288.8 kB / 0.8443 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009269/2.56, allocations: 5.438 MB / 0.8496 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/2.56, allocations: 0.9622 MB / 0.8506 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004194/2.561, allocations: 96.17 kB / 0.8507 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/2.561, allocations: 288.1 kB / 0.8509 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of SimCode: time 1.643e-06/2.561, allocations: 0 / 0.8509 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.04/3.601, allocations: 60 MB / 0.9095 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/3.601, allocations: 265.8 kB / 0.9098 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.203/7.805, allocations: 0 / 0.9098 GB, free: 10.03 MB / 0.7481 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestFixedPowerHeatExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestFixedPowerHeatExchanger.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1)