Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.844/1.844, allocations: 285.6 MB / 293.1 MB, free: 10.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009979/0.0009978, allocations: 188.9 kB / 361.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008048/0.0008045, allocations: 102.8 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.288e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7103/0.7104, allocations: 115.3 MB / 0.9645 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.245/0.9554, allocations: 168.6 MB / 1.129 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/0.9558, allocations: 92.69 kB / 1.129 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0877/1.044, allocations: 23.32 MB / 1.152 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.344e-06/1.044, allocations: 0 / 1.152 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.543e-05/1.044, allocations: 12 kB / 1.152 GB, free: 11.56 MB / 0.7605 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.001407/1.045, allocations: 0.6463 MB / 1.153 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.045, allocations: 8.031 kB / 1.153 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/1.047, allocations: 136.4 kB / 1.153 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/1.048, allocations: 327.2 kB / 1.153 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/1.048, allocations: 17.91 kB / 1.153 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/1.048, allocations: 20 kB / 1.153 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001052/1.049, allocations: 389.9 kB / 1.153 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/1.05, allocations: 0.5513 MB / 1.154 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/1.05, allocations: 7.938 kB / 1.154 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/1.05, allocations: 4 kB / 1.154 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.286e-05/1.05, allocations: 28.77 kB / 1.154 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/1.056, allocations: 3.347 MB / 1.157 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/1.057, allocations: 357 kB / 1.158 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/1.057, allocations: 162.2 kB / 1.158 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/1.057, allocations: 15.97 kB / 1.158 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.057, allocations: 34.56 kB / 1.158 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 3.576e-06/1.057, allocations: 0 / 1.158 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.002771/1.06, allocations: 0.6514 MB / 1.158 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/1.06, allocations: 81.11 kB / 1.159 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/1.06, allocations: 274.2 kB / 1.159 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/1.061, allocations: 25.7 kB / 1.159 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/1.061, allocations: 259.3 kB / 1.159 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.061, allocations: 86.66 kB / 1.159 GB, free: 3.676 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/1.061, allocations: 3.938 kB / 1.159 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.061, allocations: 338.8 kB / 1.16 GB, free: 3.332 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/1.061, allocations: 168 kB / 1.16 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/1.062, allocations: 325 kB / 1.16 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/1.063, allocations: 243.8 kB / 1.16 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.063, allocations: 0 / 1.16 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002731/1.066, allocations: 0.7296 MB / 1.161 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001029/1.067, allocations: 2.098 MB / 1.163 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.067, allocations: 5.812 kB / 1.163 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/1.068, allocations: 233.4 kB / 1.163 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/1.069, allocations: 99.81 kB / 1.163 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/1.071, allocations: 1.268 MB / 1.165 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/1.071, allocations: 35.84 kB / 1.165 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/1.071, allocations: 23.98 kB / 1.165 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.071, allocations: 4.781 kB / 1.165 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/1.072, allocations: 440 kB / 1.165 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.073, allocations: 8.156 kB / 1.165 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.073, allocations: 11.95 kB / 1.165 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/1.073, allocations: 111.8 kB / 1.165 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.073, allocations: 11.94 kB / 1.165 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/1.074, allocations: 19.92 kB / 1.165 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/1.074, allocations: 27.98 kB / 1.165 GB, free: 13.21 MB / 0.7761 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 () * 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.0001682/1.074, allocations: 116.9 kB / 1.165 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002532/1.076, allocations: 0.6281 MB / 1.166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/1.077, allocations: 31.62 kB / 1.166 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/1.079, allocations: 0.6491 MB / 1.167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.079, allocations: 4 kB / 1.167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.079, allocations: 7.953 kB / 1.167 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.079, allocations: 7.922 kB / 1.167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/1.081, allocations: 0.5861 MB / 1.167 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.081, allocations: 7.984 kB / 1.167 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/1.081, allocations: 43.97 kB / 1.167 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/1.083, allocations: 405.3 kB / 1.168 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/1.083, allocations: 10.11 kB / 1.168 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005507/1.089, allocations: 3.329 MB / 1.171 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.089, allocations: 4.031 kB / 1.171 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/1.092, allocations: 0.856 MB / 1.172 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/1.092, allocations: 143.9 kB / 1.172 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/1.092, allocations: 0 / 1.172 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005769/1.093, allocations: 35.94 kB / 1.172 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/1.093, allocations: 27.91 kB / 1.172 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/1.093, allocations: 8 kB / 1.172 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003319/1.093, allocations: 202 kB / 1.172 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.81e-07/1.093, allocations: 0 / 1.172 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001447/1.095, allocations: 168.1 kB / 1.172 GB, free: 5.582 MB / 0.7761 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 () * 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.003469/1.098, allocations: 1.648 MB / 1.174 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002002/1.1, allocations: 0.6662 MB / 1.175 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.1, allocations: 4 kB / 1.175 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/1.101, allocations: 448.6 kB / 1.175 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/1.102, allocations: 66.02 kB / 1.175 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/1.104, allocations: 0.6197 MB / 1.176 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/1.105, allocations: 0.8548 MB / 1.176 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000743/1.105, allocations: 158.1 kB / 1.177 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/1.106, allocations: 111.4 kB / 1.177 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/1.106, allocations: 0 / 1.177 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03981/1.145, allocations: 8.441 MB / 1.185 GB, free: 8.594 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/1.146, allocations: 157.7 kB / 1.185 GB, free: 8.402 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/3.364, allocations: 0 / 1.185 GB, free: 8.402 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)