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 1.833/1.833, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001162/0.001162, allocations: 179.4 kB / 371.6 MB, free: 3.367 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.493/1.493, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.000946/0.000946, allocations: 94.31 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.945e-05/5.949e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2538, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7825/1.036, allocations: 170.2 MB / 1.146 GB, free: 22.1 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/1.037, allocations: 96.8 kB / 1.146 GB, free: 22.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.058/1.095, allocations: 23.41 MB / 1.169 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.473e-06/1.095, allocations: 0 / 1.169 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.572e-05/1.095, allocations: 8 kB / 1.169 GB, free: 8.59 MB / 0.7448 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.0009586/1.096, allocations: 0.6438 MB / 1.17 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.096, allocations: 8.031 kB / 1.17 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.607e-05/1.096, allocations: 82.53 kB / 1.17 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/1.097, allocations: 137.1 kB / 1.17 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/1.097, allocations: 330.5 kB / 1.17 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/1.097, allocations: 41.83 kB / 1.17 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/1.098, allocations: 37.61 kB / 1.17 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007526/1.098, allocations: 0.5934 MB / 1.171 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/1.098, allocations: 11.94 kB / 1.171 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/1.098, allocations: 15.69 kB / 1.171 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/1.098, allocations: 28.77 kB / 1.171 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/1.099, allocations: 462.2 kB / 1.171 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/1.102, allocations: 3.435 MB / 1.175 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/1.102, allocations: 369.2 kB / 1.175 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/1.102, allocations: 164.6 kB / 1.175 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/1.103, allocations: 7.984 kB / 1.175 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/1.103, allocations: 38.77 kB / 1.175 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 2.344e-06/1.103, allocations: 0 / 1.175 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26): time 0.001726/1.104, allocations: 0.7508 MB / 1.176 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/1.104, allocations: 85.05 kB / 1.176 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/1.105, allocations: 287.1 kB / 1.176 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/1.105, allocations: 37.39 kB / 1.176 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/1.105, allocations: 262.4 kB / 1.177 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/1.105, allocations: 93.16 kB / 1.177 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/1.105, allocations: 11 kB / 1.177 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/1.105, allocations: 340.7 kB / 1.177 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/1.105, allocations: 168.5 kB / 1.177 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/1.105, allocations: 328.1 kB / 1.178 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/1.106, allocations: 236 kB / 1.178 GB, free: 440 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.106, allocations: 7.938 kB / 1.178 GB, free: 432 kB / 0.7448 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001758/1.108, allocations: 0.8312 MB / 1.179 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008878/1.108, allocations: 2.088 MB / 1.181 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.108, allocations: 4 kB / 1.181 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/1.11, allocations: 422.6 kB / 1.181 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/1.111, allocations: 99.36 kB / 1.181 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/1.112, allocations: 1.255 MB / 1.182 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/1.112, allocations: 40.25 kB / 1.182 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/1.112, allocations: 27.48 kB / 1.182 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.112, allocations: 7.953 kB / 1.182 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007538/1.113, allocations: 467.4 kB / 1.183 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.113, allocations: 4.719 kB / 1.183 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.113, allocations: 12 kB / 1.183 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/1.113, allocations: 115 kB / 1.183 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/1.113, allocations: 12.88 kB / 1.183 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/1.114, allocations: 31.08 kB / 1.183 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/1.114, allocations: 23.73 kB / 1.183 GB, free: 11.2 MB / 0.7605 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.0001524/1.114, allocations: 133.9 kB / 1.183 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/1.114, allocations: 35.58 kB / 1.183 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/1.116, allocations: 0.6674 MB / 1.184 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.116, allocations: 7.953 kB / 1.184 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.116, allocations: 4 kB / 1.184 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.116, allocations: 0 / 1.184 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/1.117, allocations: 0.6494 MB / 1.185 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.117, allocations: 7.984 kB / 1.185 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/1.117, allocations: 51.17 kB / 1.185 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/1.119, allocations: 401.6 kB / 1.185 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/1.119, allocations: 3.438 kB / 1.185 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004108/1.123, allocations: 3.473 MB / 1.188 GB, free: 6.012 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.123, allocations: 0 / 1.188 GB, free: 6.012 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/1.125, allocations: 0.8521 MB / 1.189 GB, free: 5.23 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/1.125, allocations: 146.1 kB / 1.189 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/1.125, allocations: 3.312 kB / 1.189 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/1.125, allocations: 39.25 kB / 1.189 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/1.125, allocations: 23.36 kB / 1.189 GB, free: 5.027 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/1.125, allocations: 12 kB / 1.189 GB, free: 5.016 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000262/1.126, allocations: 228.9 kB / 1.19 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/1.126, allocations: 0 / 1.19 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008451/1.126, allocations: 199.9 kB / 1.19 GB, free: 4.656 MB / 0.7605 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.002333/1.129, allocations: 1.654 MB / 1.191 GB, free: 3.078 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001469/1.13, allocations: 0.7144 MB / 1.192 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.13, allocations: 0 / 1.192 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007703/1.131, allocations: 485.7 kB / 1.193 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/1.131, allocations: 67.86 kB / 1.193 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/1.133, allocations: 0.6422 MB / 1.193 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/1.133, allocations: 0.8494 MB / 1.194 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004438/1.134, allocations: 153.7 kB / 1.194 GB, free: 468 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/1.134, allocations: 115.5 kB / 1.194 GB, free: 428 kB / 0.7605 GB Notification: Performance of SimCode: time 2.2e-07/1.134, allocations: 0 / 1.194 GB, free: 428 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/1.157, allocations: 9.222 MB / 1.203 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.158, allocations: 189.9 kB / 1.204 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/3.42, allocations: 11.02 kB / 1.204 GB, free: 7.145 MB / 0.7761 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)