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.36/1.36, allocations: 249.5 MB / 257 MB, free: 6.93 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.0009711/0.000971, allocations: 176.8 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0007652/0.0007652, allocations: 98.44 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.682e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1964, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7832/0.9797, allocations: 166.9 MB / 1.048 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.9801, allocations: 98.88 kB / 1.048 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.05875/1.039, allocations: 24.18 MB / 1.072 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.322e-06/1.039, allocations: 3.938 kB / 1.072 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.886e-05/1.039, allocations: 15.98 kB / 1.072 GB, free: 0.6445 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.001259/1.04, allocations: 0.6362 MB / 1.073 GB, free: 15.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/1.04, allocations: 12.03 kB / 1.073 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/1.041, allocations: 143.3 kB / 1.073 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/1.042, allocations: 322.5 kB / 1.073 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/1.042, allocations: 15.98 kB / 1.073 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/1.042, allocations: 27.89 kB / 1.073 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006105/1.043, allocations: 386.9 kB / 1.073 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/1.043, allocations: 0.5443 MB / 1.074 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/1.043, allocations: 3.938 kB / 1.074 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/1.043, allocations: 4 kB / 1.074 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.107e-05/1.044, allocations: 28.77 kB / 1.074 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/1.047, allocations: 3.357 MB / 1.077 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/1.048, allocations: 357.5 kB / 1.078 GB, free: 11.13 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/1.048, allocations: 165.2 kB / 1.078 GB, free: 11.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/1.048, allocations: 3.938 kB / 1.078 GB, free: 11.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.048, allocations: 45.64 kB / 1.078 GB, free: 10.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.124e-06/1.048, allocations: 0 / 1.078 GB, free: 10.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.001726/1.05, allocations: 0.6569 MB / 1.079 GB, free: 10.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/1.05, allocations: 84.86 kB / 1.079 GB, free: 10.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/1.05, allocations: 261.3 kB / 1.079 GB, free: 10.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/1.05, allocations: 25.7 kB / 1.079 GB, free: 10.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/1.05, allocations: 263.8 kB / 1.079 GB, free: 9.828 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/1.05, allocations: 85.69 kB / 1.079 GB, free: 9.754 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/1.05, allocations: 0 / 1.079 GB, free: 9.754 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.05, allocations: 340.1 kB / 1.08 GB, free: 9.426 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/1.051, allocations: 163.4 kB / 1.08 GB, free: 9.324 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/1.051, allocations: 321.5 kB / 1.08 GB, free: 9.004 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/1.052, allocations: 251 kB / 1.08 GB, free: 8.828 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.052, allocations: 0 / 1.08 GB, free: 8.828 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001653/1.053, allocations: 0.7285 MB / 1.081 GB, free: 8.223 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009387/1.054, allocations: 2.09 MB / 1.083 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.054, allocations: 4 kB / 1.083 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/1.055, allocations: 241.7 kB / 1.083 GB, free: 5.781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/1.056, allocations: 99.31 kB / 1.083 GB, free: 5.688 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/1.057, allocations: 1.267 MB / 1.085 GB, free: 4.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/1.057, allocations: 31.81 kB / 1.085 GB, free: 4.398 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/1.057, allocations: 19.06 kB / 1.085 GB, free: 4.383 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.057, allocations: 7.953 kB / 1.085 GB, free: 4.375 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007674/1.058, allocations: 455.2 kB / 1.085 GB, free: 4.035 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.058, allocations: 4 kB / 1.085 GB, free: 4.031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/1.058, allocations: 8.719 kB / 1.085 GB, free: 4.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/1.059, allocations: 107.2 kB / 1.085 GB, free: 3.922 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/1.059, allocations: 12 kB / 1.085 GB, free: 3.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/1.059, allocations: 23.88 kB / 1.085 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/1.059, allocations: 23.38 kB / 1.085 GB, free: 3.867 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.0001513/1.059, allocations: 116.8 kB / 1.085 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001619/1.061, allocations: 0.6274 MB / 1.086 GB, free: 3.207 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/1.061, allocations: 35.58 kB / 1.086 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/1.062, allocations: 0.6598 MB / 1.087 GB, free: 2.625 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.062, allocations: 4 kB / 1.087 GB, free: 2.621 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.062, allocations: 0 / 1.087 GB, free: 2.621 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.062, allocations: 0 / 1.087 GB, free: 2.621 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008592/1.063, allocations: 0.5888 MB / 1.087 GB, free: 2.082 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.063, allocations: 0 / 1.087 GB, free: 2.082 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/1.064, allocations: 54.92 kB / 1.087 GB, free: 2.031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/1.065, allocations: 404.5 kB / 1.088 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/1.065, allocations: 0 / 1.088 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/1.069, allocations: 3.343 MB / 1.091 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.069, allocations: 7.969 kB / 1.091 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/1.071, allocations: 0.8482 MB / 1.092 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/1.071, allocations: 146 kB / 1.092 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/1.071, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/1.071, allocations: 31.94 kB / 1.092 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/1.071, allocations: 27.53 kB / 1.092 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/1.071, allocations: 8 kB / 1.092 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002428/1.072, allocations: 197.8 kB / 1.092 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.072, allocations: 3.938 kB / 1.092 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009194/1.073, allocations: 175.6 kB / 1.092 GB, free: 13.02 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.00232/1.075, allocations: 1.64 MB / 1.094 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.076, allocations: 0.6715 MB / 1.095 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/1.076, allocations: 4 kB / 1.095 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007293/1.077, allocations: 459.8 kB / 1.095 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/1.078, allocations: 63.42 kB / 1.095 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/1.079, allocations: 0.6188 MB / 1.096 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/1.079, allocations: 0.852 MB / 1.096 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004636/1.08, allocations: 151.2 kB / 1.097 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/1.08, allocations: 114.1 kB / 1.097 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of SimCode: time 2.604e-06/1.08, allocations: 0 / 1.097 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/1.112, allocations: 8.464 MB / 1.105 GB, free: 444 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/1.112, allocations: 166.6 kB / 1.105 GB, free: 248 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/3.202, allocations: 4 kB / 1.105 GB, free: 244 kB / 0.7136 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)