Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.468/1.468, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 181.1 kB / 326.5 MB, free: 2.262 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.95/1.95, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001006/0.001006, allocations: 100.5 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 9.625 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7482/0.9817, allocations: 166.2 MB / 1.063 GB, free: 62.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003934/0.9822, allocations: 103 kB / 1.063 GB, free: 62.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2642/1.246, allocations: 105.3 MB / 1.165 GB, free: 33.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.046e-06/1.246, allocations: 4 kB / 1.165 GB, free: 33.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00013/1.247, allocations: 62.33 kB / 1.165 GB, free: 33.43 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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.007661/1.254, allocations: 2.538 MB / 1.168 GB, free: 31.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.254, allocations: 11.72 kB / 1.168 GB, free: 31.93 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001825/1.256, allocations: 460.4 kB / 1.168 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005871/1.262, allocations: 1.017 MB / 1.169 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005022/1.267, allocations: 1.64 MB / 1.171 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/1.267, allocations: 223.8 kB / 1.171 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/1.269, allocations: 293.7 kB / 1.172 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/1.282, allocations: 4.795 MB / 1.176 GB, free: 29.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.252e-05/1.282, allocations: 7.75 kB / 1.176 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005024/1.282, allocations: 130.4 kB / 1.176 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002261/1.282, allocations: 190.1 kB / 1.177 GB, free: 29.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008877/1.291, allocations: 4.237 MB / 1.181 GB, free: 28.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02731/1.319, allocations: 23.11 MB / 1.203 GB, free: 7.516 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004071/1.323, allocations: 3.179 MB / 1.206 GB, free: 4.062 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/1.323, allocations: 109.7 kB / 1.206 GB, free: 3.938 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/1.323, allocations: 47.22 kB / 1.206 GB, free: 3.883 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 4.698e-06/1.323, allocations: 3.938 kB / 1.206 GB, free: 3.879 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.003169/1.326, allocations: 2.09 MB / 1.209 GB, free: 1.781 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/1.326, allocations: 218.3 kB / 1.209 GB, free: 1.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/1.328, allocations: 0.9959 MB / 1.21 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/1.328, allocations: 37.7 kB / 1.21 GB, free: 484 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008854/1.329, allocations: 1.293 MB / 1.211 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003714/1.33, allocations: 295.9 kB / 1.211 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-05/1.33, allocations: 36 kB / 1.211 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002665/1.33, allocations: 402.7 kB / 1.212 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.331, allocations: 0.8861 MB / 1.213 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/1.333, allocations: 1.515 MB / 1.214 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/1.335, allocations: 1.185 MB / 1.215 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/1.335, allocations: 4 kB / 1.215 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00398/1.339, allocations: 2.5 MB / 1.218 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003763/1.343, allocations: 7.495 MB / 1.225 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.014e-05/1.343, allocations: 20 kB / 1.225 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.683e-05/1.343, allocations: 28 kB / 1.225 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/1.345, allocations: 471.2 kB / 1.225 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.994e-05/1.346, allocations: 39.86 kB / 1.225 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/1.347, allocations: 349.8 kB / 1.226 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/1.348, allocations: 79.97 kB / 1.226 GB, free: 15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.348, allocations: 4 kB / 1.226 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003415/1.351, allocations: 2.226 MB / 1.228 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.364e-05/1.351, allocations: 16 kB / 1.228 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/1.351, allocations: 40.52 kB / 1.228 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/1.353, allocations: 447.2 kB / 1.229 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.531e-05/1.353, allocations: 39.86 kB / 1.229 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.354, allocations: 250.6 kB / 1.229 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/1.354, allocations: 75.98 kB / 1.229 GB, free: 11.92 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002519/1.357, allocations: 1.277 MB / 1.23 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/1.357, allocations: 102.9 kB / 1.23 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/1.36, allocations: 1.591 MB / 1.232 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/1.36, allocations: 15.95 kB / 1.232 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.36, allocations: 0 / 1.232 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.36, allocations: 15.91 kB / 1.232 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007945/1.368, allocations: 4.247 MB / 1.236 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.368, allocations: 0 / 1.236 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009932/1.369, allocations: 239.6 kB / 1.236 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/1.369, allocations: 4 kB / 1.236 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/1.369, allocations: 16 kB / 1.236 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.369, allocations: 4 kB / 1.236 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.369, allocations: 0 / 1.236 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/1.371, allocations: 2.007 MB / 1.238 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008142/1.372, allocations: 367.5 kB / 1.239 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/1.372, allocations: 20 kB / 1.239 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/1.373, allocations: 123.8 kB / 1.239 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.373, allocations: 52.48 kB / 1.239 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/1.373, allocations: 31.98 kB / 1.239 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00121/1.375, allocations: 0.7839 MB / 1.24 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.31e-07/1.375, allocations: 0 / 1.24 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004108/1.379, allocations: 1.356 MB / 1.241 GB, free: 15.51 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002724/1.381, allocations: 3 MB / 1.244 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004492/1.386, allocations: 2.995 MB / 1.247 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.386, allocations: 0 / 1.247 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009407/1.387, allocations: 0.6791 MB / 1.247 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/1.388, allocations: 170.5 kB / 1.248 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.409, allocations: 23.91 MB / 1.271 GB, free: 128 kB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/1.411, allocations: 2.262 MB / 1.273 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002612/1.414, allocations: 1.113 MB / 1.274 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.415, allocations: 0.8273 MB / 1.275 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of SimCode: time 1.243e-06/1.415, allocations: 0 / 1.275 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0481/1.463, allocations: 30.84 MB / 1.305 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/1.463, allocations: 220.8 kB / 1.305 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/4.024, allocations: 0 / 1.305 GB, free: 13.03 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)