Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.678/2.678, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001608/0.001608, allocations: 186.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.275/2.275, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001162/0.001161, allocations: 96.47 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004865, allocations: 12.06 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2243, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.244, allocations: 172.4 MB / 1.147 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/1.244, allocations: 104.4 kB / 1.147 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4951/1.739, allocations: 105.3 MB / 1.25 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.807e-06/1.739, allocations: 3.938 kB / 1.25 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001974/1.74, allocations: 63.98 kB / 1.25 GB, free: 13.39 MB / 0.7761 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.01204/1.752, allocations: 2.526 MB / 1.252 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/1.752, allocations: 12.03 kB / 1.252 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002379/1.754, allocations: 466.5 kB / 1.253 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/1.764, allocations: 1.011 MB / 1.254 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006142/1.77, allocations: 1.638 MB / 1.255 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/1.771, allocations: 234 kB / 1.255 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/1.773, allocations: 288 kB / 1.256 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/1.791, allocations: 4.797 MB / 1.26 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/1.791, allocations: 3.938 kB / 1.26 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001256/1.793, allocations: 127.9 kB / 1.26 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004018/1.793, allocations: 189.1 kB / 1.261 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/1.808, allocations: 4.236 MB / 1.265 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05066/1.859, allocations: 23.11 MB / 1.287 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008814/1.867, allocations: 3.179 MB / 1.29 GB, free: 0.8555 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/1.868, allocations: 105.7 kB / 1.291 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.831e-05/1.868, allocations: 47.2 kB / 1.291 GB, free: 0.6797 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 4.158e-06/1.868, allocations: 0 / 1.291 GB, free: 0.6797 MB / 0.8073 GB Notification: Performance of matching and sorting (n=82): time 0.006395/1.874, allocations: 2.09 MB / 1.293 GB, free: 14.58 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/1.875, allocations: 222.2 kB / 1.293 GB, free: 14.31 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/1.877, allocations: 1 MB / 1.294 GB, free: 13.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002648/1.877, allocations: 41.7 kB / 1.294 GB, free: 13.25 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/1.879, allocations: 1.285 MB / 1.295 GB, free: 11.95 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006032/1.879, allocations: 303.8 kB / 1.295 GB, free: 11.65 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/1.88, allocations: 32 kB / 1.295 GB, free: 11.62 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003841/1.88, allocations: 402.7 kB / 1.296 GB, free: 11.22 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/1.883, allocations: 0.8861 MB / 1.297 GB, free: 10.33 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003547/1.886, allocations: 1.515 MB / 1.298 GB, free: 8.543 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003469/1.89, allocations: 1.189 MB / 1.299 GB, free: 7.348 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.536e-05/1.89, allocations: 4 kB / 1.299 GB, free: 7.344 MB / 0.823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007711/1.898, allocations: 2.496 MB / 1.302 GB, free: 4.844 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.004112/1.902, allocations: 7.495 MB / 1.309 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.544e-05/1.902, allocations: 16 kB / 1.309 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.736e-05/1.902, allocations: 32 kB / 1.309 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003884/1.906, allocations: 475.2 kB / 1.31 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.042e-05/1.906, allocations: 39.86 kB / 1.31 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/1.909, allocations: 337.9 kB / 1.31 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003889/1.91, allocations: 87.91 kB / 1.31 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.91, allocations: 8 kB / 1.31 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006348/1.916, allocations: 2.218 MB / 1.312 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-05/1.916, allocations: 20.12 kB / 1.312 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.619e-05/1.916, allocations: 39.98 kB / 1.312 GB, free: 9.508 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/1.92, allocations: 439.2 kB / 1.313 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.566e-05/1.92, allocations: 43.81 kB / 1.313 GB, free: 9.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/1.922, allocations: 250.6 kB / 1.313 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/1.923, allocations: 79.98 kB / 1.313 GB, free: 8.711 MB / 0.8386 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.003615/1.926, allocations: 1.28 MB / 1.314 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000538/1.927, allocations: 102.8 kB / 1.314 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/1.931, allocations: 1.587 MB / 1.316 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/1.931, allocations: 8 kB / 1.316 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.931, allocations: 7.953 kB / 1.316 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/1.931, allocations: 11.97 kB / 1.316 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/1.944, allocations: 4.251 MB / 1.32 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.944, allocations: 4 kB / 1.32 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.946, allocations: 235.6 kB / 1.32 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-05/1.946, allocations: 4 kB / 1.32 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/1.946, allocations: 16 kB / 1.32 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.315e-05/1.946, allocations: 8 kB / 1.32 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.946, allocations: 7.984 kB / 1.32 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004146/1.95, allocations: 2.007 MB / 1.322 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.952, allocations: 363.5 kB / 1.323 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/1.952, allocations: 16 kB / 1.323 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/1.954, allocations: 131.7 kB / 1.323 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/1.954, allocations: 52.58 kB / 1.323 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-05/1.954, allocations: 27.89 kB / 1.323 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002086/1.956, allocations: 0.7839 MB / 1.324 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.42e-07/1.956, allocations: 4 kB / 1.324 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005701/1.962, allocations: 1.356 MB / 1.325 GB, free: 12.29 MB / 0.8542 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.004913/1.967, allocations: 2.996 MB / 1.328 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008209/1.975, allocations: 3.003 MB / 1.331 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.975, allocations: 0 / 1.331 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/1.977, allocations: 0.6711 MB / 1.332 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.979, allocations: 166.9 kB / 1.332 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0346/2.014, allocations: 23.9 MB / 1.355 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004425/2.018, allocations: 2.255 MB / 1.357 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005041/2.023, allocations: 1.113 MB / 1.358 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002651/2.026, allocations: 0.8273 MB / 1.359 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of SimCode: time 1.834e-06/2.026, allocations: 0 / 1.359 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09615/2.122, allocations: 30.84 MB / 1.389 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/2.123, allocations: 200.7 kB / 1.389 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.15/5.273, allocations: 1.625 kB / 1.389 GB, free: 9.867 MB / 0.9167 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)