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.0008212/0.0008211, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.694/1.694, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005142/0.0005142, allocations: 15.31 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2406, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001813/0.2425, allocations: 1.357 MB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.2443, allocations: 1.315 MB / 0.79 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.2444, allocations: 11.88 kB / 0.79 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.2448, allocations: 71.67 kB / 0.7901 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2449, allocations: 71.62 kB / 0.7902 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.2455, allocations: 198.6 kB / 0.7904 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.2457, allocations: 219.1 kB / 0.7906 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.2458, allocations: 9.484 kB / 0.7906 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2459, allocations: 71.7 kB / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.246, allocations: 99.66 kB / 0.7907 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.2461, allocations: 11.94 kB / 0.7907 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.2465, allocations: 267.6 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.2466, allocations: 67.78 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.2467, allocations: 57.58 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.247, allocations: 263.4 kB / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.247, allocations: 0 / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2471, allocations: 0 / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2471, allocations: 0 / 0.7914 GB, free: 7.742 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.000834/0.2479, allocations: 0.5334 MB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.248, allocations: 12.03 kB / 0.7919 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.248, allocations: 38.55 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.2481, allocations: 19.72 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.2485, allocations: 278.3 kB / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.2486, allocations: 67.38 kB / 0.7923 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2486, allocations: 8 kB / 0.7923 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.2489, allocations: 89.66 kB / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2489, allocations: 0 / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.2489, allocations: 0 / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2489, allocations: 0 / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.2492, allocations: 99.94 kB / 0.7925 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.2495, allocations: 265.3 kB / 0.7927 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.2508, allocations: 334.3 kB / 0.793 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.2509, allocations: 64.83 kB / 0.7931 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.2511, allocations: 101.1 kB / 0.7932 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.2511, allocations: 38.55 kB / 0.7932 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2511, allocations: 3.938 kB / 0.7932 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004734/0.2516, allocations: 217.3 kB / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.2517, allocations: 51.41 kB / 0.7935 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.252, allocations: 295.2 kB / 0.7938 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.252, allocations: 29.7 kB / 0.7938 GB, free: 5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.2521, allocations: 120.5 kB / 0.7939 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.2521, allocations: 23.73 kB / 0.794 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.2521, allocations: 0 / 0.794 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2522, allocations: 342.7 kB / 0.7943 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.2524, allocations: 159.9 kB / 0.7944 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.2527, allocations: 159.7 kB / 0.7946 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.2529, allocations: 168.8 kB / 0.7947 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2529, allocations: 0 / 0.7947 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000523/0.2534, allocations: 405 kB / 0.7951 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2534, allocations: 4 kB / 0.7951 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2535, allocations: 0 / 0.7951 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2535, allocations: 4 kB / 0.7951 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.2536, allocations: 23.92 kB / 0.7952 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2536, allocations: 0 / 0.7952 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2537, allocations: 27.59 kB / 0.7952 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.2537, allocations: 4 kB / 0.7952 GB, free: 3.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.2538, allocations: 133.8 kB / 0.7953 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.2539, allocations: 19.72 kB / 0.7953 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/0.2543, allocations: 187.4 kB / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2543, allocations: 0 / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2543, allocations: 0 / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2543, allocations: 4 kB / 0.7955 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.2546, allocations: 237.5 kB / 0.7957 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2546, allocations: 0 / 0.7957 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.2547, allocations: 19.98 kB / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2547, allocations: 0 / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2547, allocations: 0 / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2547, allocations: 0 / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2547, allocations: 0 / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.255, allocations: 189.1 kB / 0.7959 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.2551, allocations: 108.8 kB / 0.796 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.2551, allocations: 7.938 kB / 0.7961 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.2552, allocations: 8 kB / 0.7961 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.2553, allocations: 11.98 kB / 0.7961 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.2553, allocations: 0 / 0.7961 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001839/0.2555, allocations: 197.9 kB / 0.7963 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2555, allocations: 0 / 0.7963 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004512/0.256, allocations: 115.9 kB / 0.7964 GB, free: 2.254 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 (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.0008452/0.2568, allocations: 0.7996 MB / 0.7972 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005591/0.2574, allocations: 363.2 kB / 0.7975 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2574, allocations: 0 / 0.7975 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2575, allocations: 59.97 kB / 0.7976 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2578, allocations: 39 kB / 0.7976 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.26, allocations: 1.539 MB / 0.7991 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.2603, allocations: 0.7395 MB / 0.7998 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.795e-05/0.2604, allocations: 17.09 kB / 0.7998 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.2606, allocations: 55.41 kB / 0.7999 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2606, allocations: 0 / 0.7999 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.2778, allocations: 5.238 MB / 0.805 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004574/0.2783, allocations: 207.6 kB / 0.8052 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.118, allocations: 0 / 0.8052 GB, free: 9.262 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --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) Environment - environmentSimulation: