Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 172.5 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 99.88 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 9.406 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2551, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001641/0.2568, allocations: 1.318 MB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2585, allocations: 1.292 MB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.2586, allocations: 7.938 kB / 0.9027 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.2589, allocations: 79.69 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.259, allocations: 63.75 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.2595, allocations: 199.5 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2597, allocations: 115.7 kB / 0.9031 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.2597, allocations: 9.766 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2598, allocations: 71.72 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.2599, allocations: 67.73 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.2599, allocations: 12 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.2603, allocations: 267.6 kB / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.2604, allocations: 59.8 kB / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.2604, allocations: 61.58 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.2607, allocations: 255.5 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2607, allocations: 0 / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2607, allocations: 0 / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2607, allocations: 0 / 0.9039 GB, free: 60 MB / 0.6042 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.0007429/0.2615, allocations: 0.5411 MB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2615, allocations: 12.03 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.2616, allocations: 30.56 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.2616, allocations: 23.67 kB / 0.9045 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.262, allocations: 266.5 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.2621, allocations: 67.39 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2622, allocations: 4 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.2623, allocations: 89.59 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2624, allocations: 4 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2624, allocations: 0 / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2624, allocations: 3.984 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.2626, allocations: 107.9 kB / 0.905 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.2628, allocations: 257.3 kB / 0.9053 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.2641, allocations: 334.4 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.2642, allocations: 97.09 kB / 0.9057 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2643, allocations: 38.5 kB / 0.9057 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.2643, allocations: 0 / 0.9057 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004597/0.2648, allocations: 209.5 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.2648, allocations: 55.34 kB / 0.906 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.265, allocations: 303.1 kB / 0.9063 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.265, allocations: 25.7 kB / 0.9063 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.2651, allocations: 128.6 kB / 0.9064 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.2651, allocations: 19.66 kB / 0.9064 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.2651, allocations: 4 kB / 0.9064 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.2652, allocations: 338.8 kB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.2654, allocations: 151.9 kB / 0.9069 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.2656, allocations: 163.9 kB / 0.9071 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.2658, allocations: 171.9 kB / 0.9072 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2658, allocations: 7.875 kB / 0.9072 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004375/0.2662, allocations: 397.1 kB / 0.9076 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2663, allocations: 4 kB / 0.9076 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2663, allocations: 0 / 0.9076 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2663, allocations: 4 kB / 0.9076 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.2664, allocations: 15.98 kB / 0.9076 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.2664, allocations: 0 / 0.9076 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2665, allocations: 35.52 kB / 0.9077 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2665, allocations: 12 kB / 0.9077 GB, free: 55.89 MB / 0.6042 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 9.391e-05/0.2666, allocations: 129.8 kB / 0.9078 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.2667, allocations: 19.72 kB / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.267, allocations: 171.4 kB / 0.908 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.267, allocations: 0 / 0.908 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.267, allocations: 0 / 0.908 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.267, allocations: 4 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.2672, allocations: 241.5 kB / 0.9082 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2672, allocations: 0 / 0.9082 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.2672, allocations: 15.98 kB / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2673, allocations: 0 / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2673, allocations: 0 / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2673, allocations: 0 / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2673, allocations: 8 kB / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.2676, allocations: 200.9 kB / 0.9084 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.2676, allocations: 108.7 kB / 0.9085 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.2677, allocations: 8 kB / 0.9085 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.2678, allocations: 7.984 kB / 0.9085 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.2678, allocations: 7.938 kB / 0.9085 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.2678, allocations: 0 / 0.9085 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001348/0.268, allocations: 201.9 kB / 0.9087 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.268, allocations: 0 / 0.9087 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004142/0.2684, allocations: 108 kB / 0.9088 GB, free: 54.58 MB / 0.6042 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.0007831/0.2692, allocations: 0.8112 MB / 0.9096 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004928/0.2697, allocations: 359.3 kB / 0.91 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2697, allocations: 0 / 0.91 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.2698, allocations: 67.89 kB / 0.91 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.2701, allocations: 36.52 kB / 0.9101 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2714, allocations: 0.7011 MB / 0.9108 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.2717, allocations: 0.7437 MB / 0.9115 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.2718, allocations: 25.38 kB / 0.9115 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/0.2719, allocations: 55.42 kB / 0.9116 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/0.2719, allocations: 0 / 0.9116 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.2888, allocations: 5.02 MB / 0.9165 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.289, allocations: 210.7 kB / 0.9167 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.149, allocations: 0 / 0.9167 GB, free: 46.64 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)