Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 193.9 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 72.73 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2282, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002967/0.2312, allocations: 1.68 MB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.2332, allocations: 1.401 MB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.2333, allocations: 8 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.2336, allocations: 83.52 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.2338, allocations: 71.53 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007166/0.2345, allocations: 275.2 kB / 0.7871 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.2347, allocations: 199.1 kB / 0.7872 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.2348, allocations: 13.5 kB / 0.7873 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.235, allocations: 79.62 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.2351, allocations: 71.73 kB / 0.7874 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.2351, allocations: 8 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005/0.2356, allocations: 343.4 kB / 0.7877 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.2357, allocations: 63.73 kB / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.135e-05/0.2358, allocations: 103.3 kB / 0.7879 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.2363, allocations: 398.9 kB / 0.7883 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.2363, allocations: 0 / 0.7883 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2363, allocations: 4 kB / 0.7883 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2363, allocations: 0 / 0.7883 GB, free: 8.473 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008653/0.2372, allocations: 0.549 MB / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2373, allocations: 8.031 kB / 0.7888 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.358e-05/0.2373, allocations: 42.75 kB / 0.7889 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.2374, allocations: 24.64 kB / 0.7889 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.2378, allocations: 287.5 kB / 0.7892 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.2379, allocations: 63.97 kB / 0.7892 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.2379, allocations: 8.375 kB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.2381, allocations: 85.59 kB / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2381, allocations: 3.984 kB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.2382, allocations: 0 / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2382, allocations: 4 kB / 0.7893 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.2384, allocations: 95.94 kB / 0.7894 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.2387, allocations: 253.5 kB / 0.7897 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.24, allocations: 294.3 kB / 0.7899 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.2402, allocations: 56.83 kB / 0.79 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.2403, allocations: 104.9 kB / 0.7901 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.2403, allocations: 38.56 kB / 0.7901 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.2403, allocations: 4 kB / 0.7901 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004723/0.2408, allocations: 201.3 kB / 0.7903 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.2409, allocations: 59.41 kB / 0.7904 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.2412, allocations: 295.2 kB / 0.7907 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2412, allocations: 29.7 kB / 0.7907 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.2414, allocations: 124.5 kB / 0.7908 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.2414, allocations: 19.75 kB / 0.7908 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.2415, allocations: 61.67 kB / 0.7909 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2416, allocations: 330.8 kB / 0.7912 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.2418, allocations: 163.7 kB / 0.7914 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.2421, allocations: 155.9 kB / 0.7915 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.2424, allocations: 290.3 kB / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2425, allocations: 256 / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000519/0.243, allocations: 404.9 kB / 0.7922 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.243, allocations: 4 kB / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.243, allocations: 8 kB / 0.7922 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.243, allocations: 3.938 kB / 0.7922 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.2431, allocations: 15.98 kB / 0.7922 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2432, allocations: 0 / 0.7922 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.2433, allocations: 39.47 kB / 0.7922 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2433, allocations: 4 kB / 0.7922 GB, free: 4.145 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001126/0.2434, allocations: 129.8 kB / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.2435, allocations: 27.66 kB / 0.7924 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.2438, allocations: 175.2 kB / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2438, allocations: 0 / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2438, allocations: 0 / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2439, allocations: 0 / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.244, allocations: 237.6 kB / 0.7928 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2441, allocations: 3.938 kB / 0.7928 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.2442, allocations: 11.98 kB / 0.7928 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2442, allocations: 4 kB / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.2442, allocations: 0 / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2442, allocations: 0 / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2442, allocations: 4 kB / 0.7928 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.2445, allocations: 180.7 kB / 0.793 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.2446, allocations: 108.8 kB / 0.7931 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.2446, allocations: 3.984 kB / 0.7931 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/0.2447, allocations: 12 kB / 0.7931 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.2448, allocations: 3.984 kB / 0.7931 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.2448, allocations: 7.984 kB / 0.7931 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001643/0.2449, allocations: 197.9 kB / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.245, allocations: 0 / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003649/0.2453, allocations: 115.9 kB / 0.7934 GB, free: 2.848 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001012/0.2463, allocations: 0.8815 MB / 0.7943 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005112/0.2469, allocations: 355.3 kB / 0.7946 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2469, allocations: 3.938 kB / 0.7946 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.247, allocations: 59.95 kB / 0.7947 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.2473, allocations: 37.77 kB / 0.7947 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.2504, allocations: 2.7 MB / 0.7973 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.2507, allocations: 0.7318 MB / 0.7981 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000107/0.2509, allocations: 25.06 kB / 0.7981 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.2509, allocations: 59.41 kB / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.251, allocations: 0 / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.2743, allocations: 5.741 MB / 0.8037 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/8.727, allocations: 16.09 kB / 0.8038 GB, free: 8.273 MB / 0.6231 GB (rm -f Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_8_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)