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.001517/0.001517, allocations: 105.4 kB / 15.7 MB, free: 24 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.001876/0.001876, allocations: 195.2 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.54/1.54, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.873/1.873, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002057/0.002058, allocations: 74.53 kB / 0.6718 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2493, 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.003022/0.2524, allocations: 1.668 MB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.2546, allocations: 1.413 MB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2548, allocations: 4 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.2552, allocations: 83.52 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.2554, allocations: 71.58 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.2561, allocations: 278.4 kB / 0.7871 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.2563, allocations: 195.1 kB / 0.7872 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.256e-05/0.2564, allocations: 9.5 kB / 0.7873 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2565, allocations: 79.69 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.2566, allocations: 83.66 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.2566, allocations: 7.938 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005062/0.2571, allocations: 351.4 kB / 0.7878 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.2572, allocations: 63.73 kB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.956e-05/0.2573, allocations: 91.48 kB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.2578, allocations: 398.8 kB / 0.7883 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2578, allocations: 0 / 0.7883 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2578, allocations: 0 / 0.7883 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2579, 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.0008169/0.2587, allocations: 0.5568 MB / 0.7888 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2587, allocations: 12.03 kB / 0.7888 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.2588, allocations: 34.75 kB / 0.7889 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.2588, allocations: 24.66 kB / 0.7889 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.2593, allocations: 287.6 kB / 0.7892 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.2594, allocations: 55.97 kB / 0.7892 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.2594, allocations: 8.312 kB / 0.7892 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2596, allocations: 89.58 kB / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.2596, allocations: 0 / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2596, allocations: 4 kB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2596, allocations: 8 kB / 0.7893 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.2599, allocations: 95.94 kB / 0.7894 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.2601, allocations: 249.5 kB / 0.7897 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.2614, allocations: 294.3 kB / 0.7899 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.2616, allocations: 64.83 kB / 0.79 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.2617, allocations: 100.9 kB / 0.7901 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2618, allocations: 34.56 kB / 0.7901 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.2618, allocations: 0 / 0.7901 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004919/0.2623, allocations: 209.3 kB / 0.7903 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.2623, allocations: 55.41 kB / 0.7904 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.2626, allocations: 295.2 kB / 0.7907 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.2627, allocations: 29.7 kB / 0.7907 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.2627, allocations: 120.5 kB / 0.7908 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.2628, allocations: 23.73 kB / 0.7908 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.2629, allocations: 61.69 kB / 0.7909 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.263, allocations: 334.8 kB / 0.7912 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.2632, allocations: 155.7 kB / 0.7914 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.2634, allocations: 155.9 kB / 0.7915 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.2638, allocations: 294.3 kB / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2638, allocations: 4 kB / 0.7918 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005733/0.2644, allocations: 397 kB / 0.7922 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2645, allocations: 4 kB / 0.7922 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.2645, allocations: 8 kB / 0.7922 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2645, allocations: 15.86 kB / 0.7922 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.2646, allocations: 19.92 kB / 0.7922 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2646, allocations: 0 / 0.7922 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.2648, allocations: 31.53 kB / 0.7922 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.2648, allocations: 4 kB / 0.7922 GB, free: 4.141 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.0001276/0.2649, allocations: 129.8 kB / 0.7924 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.265, allocations: 23.66 kB / 0.7924 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.2653, allocations: 175.6 kB / 0.7926 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.2654, allocations: 4 kB / 0.7926 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2654, allocations: 4 kB / 0.7926 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.2654, allocations: 0 / 0.7926 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.2656, allocations: 233.5 kB / 0.7928 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2656, allocations: 3.938 kB / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.2657, allocations: 23.98 kB / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2657, allocations: 0 / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2658, allocations: 0 / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2658, allocations: 0 / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2658, allocations: 0 / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.2661, allocations: 184.8 kB / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.2662, allocations: 108.8 kB / 0.7931 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.2662, allocations: 0 / 0.7931 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.2663, allocations: 4 kB / 0.7931 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.2664, allocations: 3.984 kB / 0.7931 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2664, allocations: 11.94 kB / 0.7931 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000187/0.2666, allocations: 193.9 kB / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2666, allocations: 0 / 0.7933 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004411/0.267, allocations: 123.9 kB / 0.7934 GB, free: 2.84 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.001038/0.2681, allocations: 0.8736 MB / 0.7943 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005208/0.2686, allocations: 359.2 kB / 0.7946 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2686, allocations: 3.938 kB / 0.7946 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.2688, allocations: 59.97 kB / 0.7947 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.2691, allocations: 41.12 kB / 0.7947 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.2722, allocations: 2.692 MB / 0.7973 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.2726, allocations: 0.7357 MB / 0.7981 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.952e-05/0.2727, allocations: 25.06 kB / 0.7981 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/0.2728, allocations: 55.42 kB / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of SimCode: time 7.02e-07/0.2728, allocations: 0 / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.2963, allocations: 5.749 MB / 0.8038 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.192, allocations: 8.656 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 & /home/hudson/saved_omc/OMSimulator/install/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)