Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",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.495/1.495, 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.001111/0.001111, allocations: 181.1 kB / 326.5 MB, free: 2.258 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.901/1.901, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001017/0.001017, allocations: 98.83 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003916, allocations: 9.438 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2558, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6947/0.9506, allocations: 163 MB / 1.059 GB, free: 153.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.9509, allocations: 100 kB / 1.059 GB, free: 153.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05931/1.01, allocations: 23.55 MB / 1.082 GB, free: 148.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/1.01, allocations: 0.5938 kB / 1.082 GB, free: 148.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.205e-05/1.01, allocations: 12.31 kB / 1.082 GB, free: 148.1 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00128/1.012, allocations: 0.6725 MB / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.012, allocations: 9.031 kB / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/1.012, allocations: 78.52 kB / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/1.013, allocations: 148.6 kB / 1.083 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/1.014, allocations: 329.2 kB / 1.084 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.825e-05/1.014, allocations: 30.61 kB / 1.084 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/1.014, allocations: 37.03 kB / 1.084 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/1.015, allocations: 0.6043 MB / 1.084 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/1.015, allocations: 9.375 kB / 1.084 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/1.015, allocations: 15.81 kB / 1.084 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.591e-05/1.015, allocations: 29.08 kB / 1.084 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/1.016, allocations: 479 kB / 1.085 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/1.019, allocations: 3.435 MB / 1.088 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/1.02, allocations: 375.4 kB / 1.089 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/1.02, allocations: 3.969 kB / 1.089 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.02, allocations: 42.39 kB / 1.089 GB, free: 143.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.946e-06/1.02, allocations: 0 / 1.089 GB, free: 143.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.003266/1.023, allocations: 1.294 MB / 1.09 GB, free: 143 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.023, allocations: 84.47 kB / 1.09 GB, free: 142.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/1.024, allocations: 293.3 kB / 1.09 GB, free: 142.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/1.024, allocations: 25.7 kB / 1.09 GB, free: 142.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/1.024, allocations: 264.4 kB / 1.091 GB, free: 142.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-05/1.024, allocations: 89.47 kB / 1.091 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/1.024, allocations: 8 kB / 1.091 GB, free: 142.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/1.024, allocations: 342.4 kB / 1.091 GB, free: 142 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/1.024, allocations: 177.8 kB / 1.091 GB, free: 142 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/1.024, allocations: 341.4 kB / 1.091 GB, free: 141.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/1.025, allocations: 223.9 kB / 1.092 GB, free: 141.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.025, allocations: 4 kB / 1.092 GB, free: 141.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001644/1.026, allocations: 0.8463 MB / 1.092 GB, free: 140.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003439/1.027, allocations: 2.098 MB / 1.095 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/1.027, allocations: 4 kB / 1.095 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/1.028, allocations: 421.2 kB / 1.095 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/1.029, allocations: 99.81 kB / 1.095 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008294/1.029, allocations: 1.249 MB / 1.096 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/1.03, allocations: 47.8 kB / 1.096 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/1.03, allocations: 23.95 kB / 1.096 GB, free: 136.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/1.03, allocations: 4 kB / 1.096 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006028/1.03, allocations: 483.9 kB / 1.097 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.031, allocations: 8.125 kB / 1.097 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.772e-06/1.031, allocations: 8 kB / 1.097 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/1.031, allocations: 111.9 kB / 1.097 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.031, allocations: 11.94 kB / 1.097 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/1.031, allocations: 39.81 kB / 1.097 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/1.031, allocations: 20 kB / 1.097 GB, free: 135.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002792/1.031, allocations: 272.9 kB / 1.097 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/1.032, allocations: 35.58 kB / 1.097 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/1.033, allocations: 0.6668 MB / 1.098 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.033, allocations: 4 kB / 1.098 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.033, allocations: 0 / 1.098 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.033, allocations: 3.984 kB / 1.098 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007952/1.034, allocations: 0.6637 MB / 1.099 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.034, allocations: 0 / 1.099 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/1.034, allocations: 43.91 kB / 1.099 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/1.036, allocations: 405.2 kB / 1.099 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/1.036, allocations: 8 kB / 1.099 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/1.039, allocations: 3.553 MB / 1.102 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.039, allocations: 0 / 1.102 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/1.04, allocations: 0.8642 MB / 1.103 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/1.04, allocations: 144.6 kB / 1.103 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/1.04, allocations: 8 kB / 1.103 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/1.041, allocations: 35.94 kB / 1.103 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/1.041, allocations: 39.8 kB / 1.104 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/1.041, allocations: 4 kB / 1.104 GB, free: 128.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002019/1.041, allocations: 231 kB / 1.104 GB, free: 128.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.041, allocations: 0 / 1.104 GB, free: 128.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007861/1.042, allocations: 196.1 kB / 1.104 GB, free: 128.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00187/1.044, allocations: 1.645 MB / 1.106 GB, free: 126.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001223/1.045, allocations: 0.7244 MB / 1.106 GB, free: 125.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.045, allocations: 0 / 1.106 GB, free: 125.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006212/1.046, allocations: 482.4 kB / 1.107 GB, free: 125.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/1.046, allocations: 64.92 kB / 1.107 GB, free: 125.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/1.05, allocations: 6.068 MB / 1.113 GB, free: 118.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/1.051, allocations: 0.8586 MB / 1.114 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004013/1.051, allocations: 131.2 kB / 1.114 GB, free: 117.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/1.051, allocations: 115.4 kB / 1.114 GB, free: 117.8 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/1.051, allocations: 0 / 1.114 GB, free: 117.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/1.071, allocations: 8.931 MB / 1.122 GB, free: 109.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/1.071, allocations: 218.1 kB / 1.123 GB, free: 108.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/3.287, allocations: 0 / 1.123 GB, free: 108.9 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)