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.599/1.599, allocations: 249.3 MB / 261.8 MB, free: 5.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0009915/0.0009917, allocations: 97.2 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.843e-05/3.846e-05, allocations: 7.984 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1982, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8777/1.076, allocations: 163 MB / 1.051 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.076, allocations: 93.31 kB / 1.051 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.05863/1.135, allocations: 23.41 MB / 1.074 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.453e-06/1.135, allocations: 0 / 1.074 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.82e-05/1.135, allocations: 8 kB / 1.074 GB, free: 1.965 MB / 0.6823 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.001066/1.136, allocations: 0.6384 MB / 1.075 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.136, allocations: 12.03 kB / 1.075 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/1.136, allocations: 83.58 kB / 1.075 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/1.137, allocations: 139.3 kB / 1.075 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/1.138, allocations: 330.8 kB / 1.075 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/1.138, allocations: 25.84 kB / 1.075 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/1.138, allocations: 38.73 kB / 1.075 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008617/1.139, allocations: 0.595 MB / 1.076 GB, free: 220 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/1.139, allocations: 15.84 kB / 1.076 GB, free: 204 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/1.139, allocations: 22.05 kB / 1.076 GB, free: 196 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/1.139, allocations: 28.77 kB / 1.076 GB, free: 168 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/1.14, allocations: 461.2 kB / 1.076 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003589/1.143, allocations: 3.44 MB / 1.08 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/1.144, allocations: 369.7 kB / 1.08 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/1.144, allocations: 168 kB / 1.08 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/1.144, allocations: 8 kB / 1.08 GB, free: 12.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/1.144, allocations: 41.39 kB / 1.08 GB, free: 12.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.156e-06/1.144, allocations: 0 / 1.08 GB, free: 12.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.002002/1.146, allocations: 0.7479 MB / 1.081 GB, free: 11.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/1.146, allocations: 77.11 kB / 1.081 GB, free: 11.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/1.147, allocations: 299.2 kB / 1.081 GB, free: 11.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/1.147, allocations: 29.02 kB / 1.081 GB, free: 11.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/1.147, allocations: 262.5 kB / 1.082 GB, free: 10.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.027e-05/1.147, allocations: 88.25 kB / 1.082 GB, free: 10.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/1.147, allocations: 11.5 kB / 1.082 GB, free: 10.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.147, allocations: 333.2 kB / 1.082 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/1.147, allocations: 172.3 kB / 1.082 GB, free: 10.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/1.148, allocations: 336.5 kB / 1.082 GB, free: 9.938 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/1.148, allocations: 228.2 kB / 1.083 GB, free: 9.781 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.148, allocations: 0 / 1.083 GB, free: 9.781 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0019/1.15, allocations: 0.8418 MB / 1.084 GB, free: 9.078 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00112/1.151, allocations: 2.093 MB / 1.086 GB, free: 6.859 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.151, allocations: 11.89 kB / 1.086 GB, free: 6.848 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/1.153, allocations: 415.9 kB / 1.086 GB, free: 6.457 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/1.153, allocations: 95.31 kB / 1.086 GB, free: 6.367 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/1.155, allocations: 1.257 MB / 1.087 GB, free: 5.117 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/1.155, allocations: 42.34 kB / 1.087 GB, free: 5.082 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/1.155, allocations: 27.42 kB / 1.087 GB, free: 5.059 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/1.155, allocations: 4 kB / 1.087 GB, free: 5.055 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006868/1.156, allocations: 474 kB / 1.088 GB, free: 4.715 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.156, allocations: 4 kB / 1.088 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/1.156, allocations: 16.03 kB / 1.088 GB, free: 4.695 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/1.156, allocations: 102.9 kB / 1.088 GB, free: 4.598 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/1.156, allocations: 19.91 kB / 1.088 GB, free: 4.578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/1.156, allocations: 34.33 kB / 1.088 GB, free: 4.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/1.156, allocations: 16 kB / 1.088 GB, free: 4.539 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 () * 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.0001326/1.157, allocations: 134.5 kB / 1.088 GB, free: 4.414 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/1.157, allocations: 39.56 kB / 1.088 GB, free: 4.375 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/1.158, allocations: 0.6682 MB / 1.089 GB, free: 3.832 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/1.158, allocations: 4 kB / 1.089 GB, free: 3.828 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.158, allocations: 0 / 1.089 GB, free: 3.828 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.158, allocations: 0 / 1.089 GB, free: 3.828 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009512/1.159, allocations: 0.6575 MB / 1.089 GB, free: 3.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.159, allocations: 4 kB / 1.089 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/1.16, allocations: 39.97 kB / 1.09 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/1.161, allocations: 410.7 kB / 1.09 GB, free: 2.793 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/1.161, allocations: 3.375 kB / 1.09 GB, free: 2.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/1.165, allocations: 3.463 MB / 1.093 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.165, allocations: 3.984 kB / 1.093 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/1.167, allocations: 0.867 MB / 1.094 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/1.167, allocations: 144.7 kB / 1.094 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/1.167, allocations: 3.438 kB / 1.094 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/1.167, allocations: 38.81 kB / 1.094 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/1.167, allocations: 27.11 kB / 1.094 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/1.167, allocations: 11.31 kB / 1.094 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002249/1.168, allocations: 222.5 kB / 1.095 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/1.168, allocations: 0 / 1.095 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008137/1.168, allocations: 201.1 kB / 1.095 GB, free: 14 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 () * 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.002115/1.171, allocations: 1.65 MB / 1.096 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001367/1.172, allocations: 0.7182 MB / 1.097 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.172, allocations: 0 / 1.097 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007374/1.173, allocations: 473.6 kB / 1.098 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/1.173, allocations: 65.11 kB / 1.098 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/1.174, allocations: 0.6479 MB / 1.098 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/1.175, allocations: 0.8471 MB / 1.099 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004269/1.175, allocations: 155.2 kB / 1.099 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/1.175, allocations: 119.4 kB / 1.099 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/1.175, allocations: 0 / 1.099 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/1.198, allocations: 9.236 MB / 1.108 GB, free: 428 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/1.198, allocations: 194.2 kB / 1.109 GB, free: 200 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.51, allocations: 4.062 kB / 1.109 GB, free: 196 kB / 0.7136 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)