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.695/1.695, allocations: 288.2 MB / 303.2 MB, free: 8.062 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.001173/0.001173, allocations: 183.1 kB / 371.8 MB, free: 10.29 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.746/1.746, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 94.3 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007061/0.0007061, allocations: 11.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2289, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7162/0.9452, allocations: 169.3 MB / 1.145 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.9456, allocations: 98.41 kB / 1.145 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05343/0.999, allocations: 23.55 MB / 1.168 GB, free: 9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9991, allocations: 0 / 1.168 GB, free: 9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.258e-05/0.9991, allocations: 12 kB / 1.168 GB, free: 8.988 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.001181/1, allocations: 0.6813 MB / 1.169 GB, free: 8.285 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1, allocations: 12.02 kB / 1.169 GB, free: 8.273 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/1, allocations: 82.14 kB / 1.169 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/1.002, allocations: 135.4 kB / 1.169 GB, free: 8.074 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/1.002, allocations: 330.4 kB / 1.169 GB, free: 7.738 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/1.002, allocations: 31.61 kB / 1.169 GB, free: 7.719 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/1.002, allocations: 34.81 kB / 1.169 GB, free: 7.695 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/1.003, allocations: 0.614 MB / 1.17 GB, free: 7.176 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/1.003, allocations: 11.38 kB / 1.17 GB, free: 7.168 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/1.003, allocations: 18.06 kB / 1.17 GB, free: 7.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/1.003, allocations: 24.64 kB / 1.17 GB, free: 7.137 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006382/1.004, allocations: 477.5 kB / 1.17 GB, free: 6.816 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/1.007, allocations: 3.429 MB / 1.174 GB, free: 3.453 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/1.008, allocations: 378.2 kB / 1.174 GB, free: 3.172 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/1.008, allocations: 7.438 kB / 1.174 GB, free: 3.168 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/1.008, allocations: 34.56 kB / 1.174 GB, free: 3.125 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.876e-06/1.008, allocations: 0 / 1.174 GB, free: 3.125 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.003794/1.012, allocations: 1.293 MB / 1.175 GB, free: 1.941 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/1.012, allocations: 81.11 kB / 1.175 GB, free: 1.844 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/1.012, allocations: 294.6 kB / 1.176 GB, free: 1.605 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/1.012, allocations: 29.08 kB / 1.176 GB, free: 1.574 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/1.013, allocations: 259.2 kB / 1.176 GB, free: 1.348 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/1.013, allocations: 99.94 kB / 1.176 GB, free: 1.262 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/1.013, allocations: 11.75 kB / 1.176 GB, free: 1.258 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.013, allocations: 338.3 kB / 1.176 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/1.013, allocations: 178.1 kB / 1.177 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/1.014, allocations: 331.9 kB / 1.177 GB, free: 496 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/1.014, allocations: 232.8 kB / 1.177 GB, free: 344 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.014, allocations: 0 / 1.177 GB, free: 344 kB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001929/1.016, allocations: 0.8462 MB / 1.178 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000839/1.017, allocations: 2.09 MB / 1.18 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.017, allocations: 4 kB / 1.18 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/1.019, allocations: 417.5 kB / 1.18 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/1.019, allocations: 99.14 kB / 1.18 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/1.02, allocations: 1.264 MB / 1.182 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/1.021, allocations: 39.12 kB / 1.182 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/1.021, allocations: 27.55 kB / 1.182 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/1.021, allocations: 4 kB / 1.182 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006652/1.021, allocations: 481.5 kB / 1.182 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.022, allocations: 8 kB / 1.182 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/1.022, allocations: 12.06 kB / 1.182 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/1.022, allocations: 107.8 kB / 1.182 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/1.022, allocations: 15.92 kB / 1.182 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/1.022, allocations: 30.33 kB / 1.182 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/1.022, allocations: 26.23 kB / 1.182 GB, free: 11.11 MB / 0.7136 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.0003214/1.023, allocations: 267.9 kB / 1.183 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.836e-05/1.023, allocations: 39.52 kB / 1.183 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/1.024, allocations: 0.6655 MB / 1.183 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.025, allocations: 3.953 kB / 1.183 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.025, allocations: 4 kB / 1.183 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.025, allocations: 0 / 1.183 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/1.026, allocations: 0.6517 MB / 1.184 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/1.026, allocations: 3.984 kB / 1.184 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/1.026, allocations: 51.8 kB / 1.184 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/1.027, allocations: 407.5 kB / 1.184 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/1.027, allocations: 7.312 kB / 1.184 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/1.031, allocations: 3.554 MB / 1.188 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.032, allocations: 8.016 kB / 1.188 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/1.033, allocations: 0.8567 MB / 1.189 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/1.033, allocations: 139.3 kB / 1.189 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/1.033, allocations: 7.125 kB / 1.189 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/1.034, allocations: 39.31 kB / 1.189 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/1.034, allocations: 23.67 kB / 1.189 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/1.034, allocations: 12 kB / 1.189 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00024/1.034, allocations: 226.8 kB / 1.189 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.034, allocations: 0 / 1.189 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008483/1.035, allocations: 193.3 kB / 1.189 GB, free: 4.41 MB / 0.7136 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.002216/1.037, allocations: 1.661 MB / 1.191 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001452/1.039, allocations: 0.72 MB / 1.192 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.039, allocations: 0 / 1.192 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007718/1.04, allocations: 482.5 kB / 1.192 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/1.04, allocations: 70.62 kB / 1.192 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/1.046, allocations: 6.074 MB / 1.198 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/1.046, allocations: 0.8499 MB / 1.199 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004333/1.047, allocations: 147.1 kB / 1.199 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/1.047, allocations: 114 kB / 1.199 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/1.047, allocations: 0 / 1.199 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/1.07, allocations: 8.913 MB / 1.208 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.07, allocations: 229.1 kB / 1.208 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/3.366, allocations: 0 / 1.208 GB, free: 2.008 MB / 0.7292 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)