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.776/2.776, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.001633/0.001633, allocations: 184.2 kB / 370.8 MB, free: 10.83 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.263/2.263, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001164/0.001164, allocations: 93.84 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004893, allocations: 11.23 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2913, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.03681/0.3282, allocations: 15.34 MB / 0.9933 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01819/0.3465, allocations: 5.56 MB / 0.9987 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.348, allocations: 39.88 kB / 0.9987 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.3492, allocations: 357.8 kB / 0.9991 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.3519, allocations: 0.5646 MB / 0.9996 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.3552, allocations: 0.7741 MB / 1 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003712/0.3589, allocations: 1.891 MB / 1.002 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02045/0.3794, allocations: 7.029 MB / 1.009 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003986/0.3834, allocations: 1.079 MB / 1.01 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0037/0.3872, allocations: 1.231 MB / 1.011 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008418/0.3881, allocations: 188 kB / 1.012 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.3898, allocations: 411.6 kB / 1.012 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002292/0.3921, allocations: 1.271 MB / 1.013 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.3933, allocations: 0.5589 MB / 1.014 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008608/0.4019, allocations: 5.315 MB / 1.019 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.402, allocations: 4 kB / 1.019 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.791e-06/0.402, allocations: 0 / 1.019 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001601/0.4021, allocations: 3.938 kB / 1.019 GB, free: 2.5 MB / 0.6355 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.00876/0.4109, allocations: 2.5 MB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.411, allocations: 12.03 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001464/0.4125, allocations: 466.4 kB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009265/0.4218, allocations: 1.21 MB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005247/0.427, allocations: 1.584 MB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002776/0.4274, allocations: 222 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/0.4284, allocations: 296 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.4449, allocations: 5.26 MB / 1.03 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.4451, allocations: 7.938 kB / 1.03 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007769/0.4459, allocations: 128 kB / 1.03 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000442/0.4463, allocations: 205.1 kB / 1.03 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/0.4611, allocations: 4.755 MB / 1.035 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04587/0.507, allocations: 23.18 MB / 1.058 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008349/0.5154, allocations: 3.194 MB / 1.061 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.5158, allocations: 105.7 kB / 1.061 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/0.5158, allocations: 47.16 kB / 1.061 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.316e-06/0.5158, allocations: 0 / 1.061 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.005718/0.5216, allocations: 2.113 MB / 1.063 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.5218, allocations: 222.4 kB / 1.063 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.5241, allocations: 1.09 MB / 1.064 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.5244, allocations: 41.7 kB / 1.064 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.6698/1.194, allocations: 1.278 MB / 1.066 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000569/1.195, allocations: 300.5 kB / 1.066 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/1.195, allocations: 32.09 kB / 1.066 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002698/1.195, allocations: 405.4 kB / 1.066 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002777/1.198, allocations: 0.8937 MB / 1.067 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003273/1.201, allocations: 1.516 MB / 1.069 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003311/1.205, allocations: 1.197 MB / 1.07 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.672e-05/1.205, allocations: 5.5 kB / 1.07 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007621/1.212, allocations: 2.499 MB / 1.072 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001742/1.214, allocations: 7.493 MB / 1.08 GB, free: 72.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/1.214, allocations: 23.31 kB / 1.08 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.613e-05/1.215, allocations: 32.53 kB / 1.08 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/1.218, allocations: 459.9 kB / 1.08 GB, free: 72.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.521e-05/1.218, allocations: 41.31 kB / 1.08 GB, free: 72.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/1.221, allocations: 347.4 kB / 1.081 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/1.222, allocations: 78.77 kB / 1.081 GB, free: 72.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.222, allocations: 7.312 kB / 1.081 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006454/1.228, allocations: 2.23 MB / 1.083 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.421e-05/1.228, allocations: 18.59 kB / 1.083 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.371e-05/1.229, allocations: 35.39 kB / 1.083 GB, free: 71.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/1.232, allocations: 441.1 kB / 1.083 GB, free: 71.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-05/1.232, allocations: 40.08 kB / 1.083 GB, free: 71.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.234, allocations: 256.5 kB / 1.084 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/1.235, allocations: 77.73 kB / 1.084 GB, free: 71.66 MB / 0.6823 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.003142/1.238, allocations: 1.272 MB / 1.085 GB, free: 71.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004876/1.238, allocations: 104.1 kB / 1.085 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005284/1.244, allocations: 1.586 MB / 1.087 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/1.244, allocations: 14.95 kB / 1.087 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/1.244, allocations: 1.375 kB / 1.087 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.711e-05/1.244, allocations: 14.38 kB / 1.087 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/1.263, allocations: 4.247 MB / 1.091 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/1.263, allocations: 2.219 kB / 1.091 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003422/1.267, allocations: 249.1 kB / 1.091 GB, free: 68.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-05/1.267, allocations: 5.281 kB / 1.091 GB, free: 68.76 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/1.267, allocations: 19.22 kB / 1.091 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.825e-05/1.267, allocations: 5.172 kB / 1.091 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.267, allocations: 9.344 kB / 1.091 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005947/1.273, allocations: 2.012 MB / 1.093 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.275, allocations: 363 kB / 1.093 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005557/1.276, allocations: 14.62 kB / 1.093 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/1.278, allocations: 124.6 kB / 1.093 GB, free: 67.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004298/1.279, allocations: 54.47 kB / 1.093 GB, free: 67.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/1.279, allocations: 22.61 kB / 1.093 GB, free: 67.31 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002971/1.282, allocations: 0.7936 MB / 1.094 GB, free: 67 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.353e-06/1.282, allocations: 0 / 1.094 GB, free: 67 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008339/1.29, allocations: 1.3 MB / 1.096 GB, free: 66.59 MB / 0.6823 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.006782/1.297, allocations: 2.985 MB / 1.098 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0123/1.31, allocations: 3.013 MB / 1.101 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.31, allocations: 1.469 kB / 1.101 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002846/1.313, allocations: 0.6724 MB / 1.102 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/1.316, allocations: 173.5 kB / 1.102 GB, free: 63.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04865/1.364, allocations: 23.91 MB / 1.126 GB, free: 44.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006882/1.371, allocations: 2.251 MB / 1.128 GB, free: 43.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00764/1.379, allocations: 1.105 MB / 1.129 GB, free: 43.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003249/1.382, allocations: 0.835 MB / 1.13 GB, free: 42.75 MB / 0.6823 GB Notification: Performance of SimCode: time 2.946e-06/1.382, allocations: 0 / 1.13 GB, free: 42.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08429/1.467, allocations: 30.6 MB / 1.16 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/1.467, allocations: 214 kB / 1.16 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.173/4.64, allocations: 0 / 1.16 GB, free: 16.98 MB / 0.6823 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)