Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.502/1.502, allocations: 287.4 MB / 302.6 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009553/0.0009554, allocations: 180.8 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006679/0.000668, allocations: 104.3 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 11.94 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.167, allocations: 115.3 MB / 0.9788 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.02574/0.1927, allocations: 38.68 MB / 1.017 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.203, allocations: 8.238 MB / 1.025 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009236/0.204, allocations: 35.75 kB / 1.025 GB, free: 13 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.2051, allocations: 413.5 kB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.2074, allocations: 0.9792 MB / 1.026 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.2096, allocations: 0.8665 MB / 1.027 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002803/0.2124, allocations: 2.9 MB / 1.03 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.2136, allocations: 0.7456 MB / 1.03 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.2154, allocations: 0.7971 MB / 1.031 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.2166, allocations: 0.6494 MB / 1.032 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.2168, allocations: 36 kB / 1.032 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.2184, allocations: 0.8694 MB / 1.033 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.2187, allocations: 243.1 kB / 1.033 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.219, allocations: 261.1 kB / 1.033 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.2206, allocations: 1.746 MB / 1.035 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2207, allocations: 0 / 1.035 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2207, allocations: 0 / 1.035 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2207, allocations: 0 / 1.035 GB, free: 2.469 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001904/0.2226, allocations: 1.518 MB / 1.036 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2226, allocations: 8.031 kB / 1.036 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.2227, allocations: 106.7 kB / 1.036 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.223, allocations: 135.4 kB / 1.037 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.2244, allocations: 1.057 MB / 1.038 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.2245, allocations: 49.31 kB / 1.038 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/0.2246, allocations: 68 kB / 1.038 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.2258, allocations: 0.8097 MB / 1.038 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.2258, allocations: 0 / 1.038 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.2259, allocations: 28 kB / 1.039 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.2259, allocations: 15.98 kB / 1.039 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.2269, allocations: 0.6181 MB / 1.039 GB, free: 13.89 MB / 0.6667 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.003408/0.2303, allocations: 3.216 MB / 1.042 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.2311, allocations: 472.4 kB / 1.043 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004496/0.2315, allocations: 324.6 kB / 1.043 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007085/0.2323, allocations: 0.7753 MB / 1.044 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2323, allocations: 38.56 kB / 1.044 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 1.723e-06/0.2323, allocations: 0 / 1.044 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.001432/0.2337, allocations: 1.013 MB / 1.045 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.2338, allocations: 144.5 kB / 1.045 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.235, allocations: 1.059 MB / 1.046 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.2351, allocations: 41.7 kB / 1.046 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.2354, allocations: 464.6 kB / 1.046 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2355, allocations: 130.1 kB / 1.047 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.2356, allocations: 12 kB / 1.047 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2357, allocations: 333.8 kB / 1.047 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.2362, allocations: 352.8 kB / 1.047 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.2367, allocations: 454.8 kB / 1.048 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.2377, allocations: 0.9757 MB / 1.049 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2378, allocations: 3.938 kB / 1.049 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001338/0.2391, allocations: 1.112 MB / 1.05 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.2393, allocations: 323.4 kB / 1.05 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2393, allocations: 0 / 1.05 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2393, allocations: 4 kB / 1.05 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.2396, allocations: 95.88 kB / 1.05 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2397, allocations: 11.94 kB / 1.05 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/0.2402, allocations: 107.3 kB / 1.05 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.2403, allocations: 20 kB / 1.05 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/0.2403, allocations: 4 kB / 1.05 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/0.2416, allocations: 1.109 MB / 1.051 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/0.2417, allocations: 0 / 1.051 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.509e-06/0.2417, allocations: 4 kB / 1.051 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.242, allocations: 95.94 kB / 1.051 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.242, allocations: 11.94 kB / 1.051 GB, free: 0.5547 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.2425, allocations: 99.56 kB / 1.052 GB, free: 468 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.2426, allocations: 28 kB / 1.052 GB, free: 440 kB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000455/0.243, allocations: 482 kB / 1.052 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.2432, allocations: 102.7 kB / 1.052 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.2445, allocations: 0.9211 MB / 1.053 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.2445, allocations: 4 kB / 1.053 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2445, allocations: 0 / 1.053 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/0.2456, allocations: 0.9912 MB / 1.054 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.2482, allocations: 2.132 MB / 1.056 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2483, allocations: 4 kB / 1.056 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.2485, allocations: 59.91 kB / 1.056 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.2485, allocations: 7.938 kB / 1.056 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.2486, allocations: 19.98 kB / 1.056 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2486, allocations: 4 kB / 1.056 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2486, allocations: 4.281 kB / 1.056 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.2503, allocations: 1.412 MB / 1.058 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.2506, allocations: 299.5 kB / 1.058 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.2507, allocations: 16 kB / 1.058 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/0.2512, allocations: 52.02 kB / 1.058 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.2514, allocations: 51.89 kB / 1.058 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.2514, allocations: 19.92 kB / 1.058 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008999/0.2523, allocations: 0.7727 MB / 1.059 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2523, allocations: 0 / 1.059 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001101/0.2534, allocations: 0.5109 MB / 1.059 GB, free: 8.238 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002466/0.2559, allocations: 2.222 MB / 1.061 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00202/0.2579, allocations: 1.95 MB / 1.063 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2579, allocations: 0 / 1.063 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006199/0.2586, allocations: 0.558 MB / 1.064 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.2608, allocations: 0.5219 MB / 1.064 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3084/0.5692, allocations: 7.239 MB / 1.071 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/0.5699, allocations: 1.066 MB / 1.072 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008365/0.5707, allocations: 211.8 kB / 1.073 GB, free: 86.97 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/0.5712, allocations: 384.5 kB / 1.073 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/0.5712, allocations: 1.5 kB / 1.073 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7429/1.314, allocations: 33.32 MB / 1.106 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/1.314, allocations: 254.1 kB / 1.106 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/4.218, allocations: 0 / 1.106 GB, free: 75.64 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)