Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_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.522/1.522, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.001021/0.001021, allocations: 180.6 kB / 321.3 MB, free: 14.65 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.775/1.775, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008468/0.0008469, allocations: 94.52 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.366e-05, allocations: 7.984 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2142, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7972/1.011, allocations: 166.6 MB / 1.055 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/1.012, allocations: 104.4 kB / 1.055 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.0633/1.075, allocations: 24.27 MB / 1.078 GB, free: 13.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.646e-06/1.075, allocations: 7.938 kB / 1.078 GB, free: 13.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.7e-05/1.075, allocations: 11.94 kB / 1.078 GB, free: 13.68 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.001124/1.076, allocations: 0.6418 MB / 1.079 GB, free: 13.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.076, allocations: 8.031 kB / 1.079 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/1.077, allocations: 80.2 kB / 1.079 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/1.078, allocations: 146.7 kB / 1.079 GB, free: 12.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/1.078, allocations: 319.3 kB / 1.08 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/1.078, allocations: 27.53 kB / 1.08 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/1.078, allocations: 45.27 kB / 1.08 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009385/1.079, allocations: 0.6019 MB / 1.08 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/1.079, allocations: 7.938 kB / 1.08 GB, free: 11.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/1.079, allocations: 18.11 kB / 1.08 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.231e-05/1.079, allocations: 32.33 kB / 1.08 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/1.08, allocations: 463.7 kB / 1.081 GB, free: 11.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/1.084, allocations: 3.438 MB / 1.084 GB, free: 8.188 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/1.085, allocations: 369.2 kB / 1.084 GB, free: 7.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/1.085, allocations: 174.4 kB / 1.085 GB, free: 7.797 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/1.085, allocations: 4 kB / 1.085 GB, free: 7.793 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/1.085, allocations: 33.88 kB / 1.085 GB, free: 7.754 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 5.821e-06/1.085, allocations: 4 kB / 1.085 GB, free: 7.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.002048/1.087, allocations: 0.7464 MB / 1.085 GB, free: 7.098 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/1.087, allocations: 80.67 kB / 1.085 GB, free: 7.004 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/1.087, allocations: 299.1 kB / 1.086 GB, free: 6.758 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/1.087, allocations: 29.14 kB / 1.086 GB, free: 6.727 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/1.088, allocations: 260 kB / 1.086 GB, free: 6.504 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.901e-05/1.088, allocations: 95.31 kB / 1.086 GB, free: 6.422 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/1.088, allocations: 13.62 kB / 1.086 GB, free: 6.418 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.088, allocations: 333.1 kB / 1.086 GB, free: 6.094 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/1.088, allocations: 172.2 kB / 1.087 GB, free: 5.984 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/1.089, allocations: 332 kB / 1.087 GB, free: 5.652 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/1.089, allocations: 227.8 kB / 1.087 GB, free: 5.496 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.089, allocations: 0 / 1.087 GB, free: 5.496 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001918/1.091, allocations: 0.8485 MB / 1.088 GB, free: 4.789 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001011/1.092, allocations: 2.083 MB / 1.09 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.092, allocations: 8 kB / 1.09 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/1.094, allocations: 415.6 kB / 1.09 GB, free: 2.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/1.094, allocations: 102.7 kB / 1.09 GB, free: 2.082 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/1.095, allocations: 1.264 MB / 1.092 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/1.096, allocations: 33.88 kB / 1.092 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/1.096, allocations: 23.36 kB / 1.092 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.096, allocations: 4 kB / 1.092 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000735/1.097, allocations: 476.3 kB / 1.092 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.097, allocations: 4 kB / 1.092 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/1.097, allocations: 12 kB / 1.092 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/1.097, allocations: 108.3 kB / 1.092 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.097, allocations: 15.92 kB / 1.092 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/1.097, allocations: 31.05 kB / 1.092 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/1.097, allocations: 19.56 kB / 1.092 GB, free: 268 kB / 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.0001797/1.098, allocations: 131.5 kB / 1.093 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/1.098, allocations: 39.56 kB / 1.093 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/1.099, allocations: 0.6686 MB / 1.093 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/1.099, allocations: 4 kB / 1.093 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.1, allocations: 0 / 1.093 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.1, allocations: 0 / 1.093 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/1.101, allocations: 0.6488 MB / 1.094 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/1.101, allocations: 4 kB / 1.094 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/1.101, allocations: 51.62 kB / 1.094 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/1.102, allocations: 404.9 kB / 1.094 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/1.102, allocations: 6.562 kB / 1.094 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/1.106, allocations: 3.473 MB / 1.098 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.106, allocations: 0 / 1.098 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/1.108, allocations: 0.8649 MB / 1.099 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/1.108, allocations: 145.2 kB / 1.099 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/1.109, allocations: 7.375 kB / 1.099 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/1.109, allocations: 39.69 kB / 1.099 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/1.109, allocations: 27.36 kB / 1.099 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/1.109, allocations: 8 kB / 1.099 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002853/1.109, allocations: 225.9 kB / 1.099 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/1.109, allocations: 0 / 1.099 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009216/1.11, allocations: 196.1 kB / 1.099 GB, free: 9.715 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.002345/1.113, allocations: 1.658 MB / 1.101 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001573/1.114, allocations: 0.7109 MB / 1.101 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.114, allocations: 0.625 kB / 1.101 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007898/1.115, allocations: 472.9 kB / 1.102 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/1.116, allocations: 74.98 kB / 1.102 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/1.117, allocations: 0.6496 MB / 1.103 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/1.117, allocations: 0.8432 MB / 1.103 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000467/1.118, allocations: 151.2 kB / 1.104 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/1.118, allocations: 115.4 kB / 1.104 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of SimCode: time 1.563e-06/1.118, allocations: 7.938 kB / 1.104 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/1.143, allocations: 9.245 MB / 1.113 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/1.143, allocations: 218.3 kB / 1.113 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.566, allocations: 4 kB / 1.113 GB, free: 11.67 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)