Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 2.051/2.051, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001144/0.001144, allocations: 176.8 kB / 366.7 MB, free: 1.68 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.66/1.66, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0008018/0.0008019, allocations: 86.28 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.063e-05, allocations: 0 / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7418/0.7418, allocations: 116.3 MB / 0.9734 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2278/0.9697, allocations: 169.6 MB / 1.139 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.9701, allocations: 103.9 kB / 1.139 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06033/1.03, allocations: 23.32 MB / 1.162 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.523e-06/1.031, allocations: 0 / 1.162 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.724e-05/1.031, allocations: 11.98 kB / 1.162 GB, free: 4.93 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.001402/1.032, allocations: 0.6424 MB / 1.162 GB, free: 4.242 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.032, allocations: 12.03 kB / 1.162 GB, free: 4.23 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/1.033, allocations: 139.4 kB / 1.163 GB, free: 4.094 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/1.034, allocations: 327.1 kB / 1.163 GB, free: 3.73 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/1.034, allocations: 12 kB / 1.163 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/1.034, allocations: 24 kB / 1.163 GB, free: 3.695 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007033/1.035, allocations: 389.9 kB / 1.163 GB, free: 3.316 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/1.036, allocations: 0.5473 MB / 1.164 GB, free: 2.711 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/1.036, allocations: 4 kB / 1.164 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/1.036, allocations: 4 kB / 1.164 GB, free: 2.703 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.694e-05/1.036, allocations: 24.77 kB / 1.164 GB, free: 2.68 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/1.039, allocations: 3.358 MB / 1.167 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/1.04, allocations: 357 kB / 1.167 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/1.04, allocations: 161.7 kB / 1.168 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/1.04, allocations: 8 kB / 1.168 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.04, allocations: 37.62 kB / 1.168 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 2.354e-06/1.04, allocations: 0 / 1.168 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26): time 0.001845/1.042, allocations: 0.6532 MB / 1.168 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/1.042, allocations: 85.11 kB / 1.168 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/1.043, allocations: 270.1 kB / 1.169 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/1.043, allocations: 30.39 kB / 1.169 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/1.043, allocations: 255.3 kB / 1.169 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/1.043, allocations: 90.64 kB / 1.169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/1.043, allocations: 0 / 1.169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.043, allocations: 342.8 kB / 1.169 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/1.043, allocations: 165.1 kB / 1.17 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/1.044, allocations: 321 kB / 1.17 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/1.044, allocations: 235.8 kB / 1.17 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.044, allocations: 13.25 kB / 1.17 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001789/1.046, allocations: 0.7255 MB / 1.171 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008844/1.047, allocations: 2.095 MB / 1.173 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.047, allocations: 4 kB / 1.173 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/1.048, allocations: 241.3 kB / 1.173 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/1.049, allocations: 95.88 kB / 1.173 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/1.05, allocations: 1.268 MB / 1.174 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/1.05, allocations: 35.94 kB / 1.174 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/1.05, allocations: 23.98 kB / 1.174 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.05, allocations: 4 kB / 1.174 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008582/1.051, allocations: 435.8 kB / 1.175 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.051, allocations: 8 kB / 1.175 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.051, allocations: 11.95 kB / 1.175 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/1.052, allocations: 103.9 kB / 1.175 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/1.052, allocations: 20.7 kB / 1.175 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/1.052, allocations: 19.92 kB / 1.175 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/1.052, allocations: 23.98 kB / 1.175 GB, free: 6.594 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.052, allocations: 125.1 kB / 1.175 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001694/1.054, allocations: 0.6213 MB / 1.176 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.054, allocations: 31.81 kB / 1.176 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/1.056, allocations: 0.6666 MB / 1.176 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.056, allocations: 0 / 1.176 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.056, allocations: 8.828 kB / 1.176 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/1.056, allocations: 3.984 kB / 1.176 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/1.057, allocations: 0.5822 MB / 1.177 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.057, allocations: 0 / 1.177 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/1.057, allocations: 51.89 kB / 1.177 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/1.059, allocations: 409.3 kB / 1.177 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/1.059, allocations: 6.391 kB / 1.177 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00371/1.062, allocations: 3.336 MB / 1.181 GB, free: 460 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.062, allocations: 0 / 1.181 GB, free: 460 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/1.064, allocations: 0.8543 MB / 1.182 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/1.064, allocations: 144.7 kB / 1.182 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/1.064, allocations: 0 / 1.182 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/1.065, allocations: 31.94 kB / 1.182 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/1.065, allocations: 26.5 kB / 1.182 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/1.065, allocations: 4 kB / 1.182 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002217/1.065, allocations: 198 kB / 1.182 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/1.065, allocations: 0 / 1.182 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008971/1.066, allocations: 176 kB / 1.182 GB, free: 14.96 MB / 0.7917 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.002401/1.068, allocations: 1.649 MB / 1.184 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001356/1.07, allocations: 0.6709 MB / 1.184 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.07, allocations: 0 / 1.184 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007277/1.071, allocations: 457.4 kB / 1.185 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/1.071, allocations: 51.33 kB / 1.185 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/1.072, allocations: 0.6293 MB / 1.185 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/1.073, allocations: 0.8546 MB / 1.186 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004405/1.073, allocations: 145.2 kB / 1.186 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/1.073, allocations: 111.4 kB / 1.187 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of SimCode: time 5.01e-07/1.073, allocations: 7.938 kB / 1.187 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/1.104, allocations: 8.44 MB / 1.195 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/1.105, allocations: 140.7 kB / 1.195 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/3.196, allocations: 0 / 1.195 GB, free: 1.777 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)