Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.469/1.469, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001266/0.001266, allocations: 178.2 kB / 326.5 MB, free: 2.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 2.188/2.188, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009376/0.0009374, allocations: 102.2 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004191, allocations: 9.281 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2108, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6503/0.8611, allocations: 174.1 MB / 1.07 GB, free: 153.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.8615, allocations: 96.47 kB / 1.07 GB, free: 153.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2523/1.114, allocations: 112.3 MB / 1.18 GB, free: 50.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.526e-06/1.114, allocations: 0 / 1.18 GB, free: 50.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002407/1.114, allocations: 67.94 kB / 1.18 GB, free: 50.7 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.008902/1.123, allocations: 2.528 MB / 1.182 GB, free: 48.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.123, allocations: 12.03 kB / 1.182 GB, free: 48.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001957/1.125, allocations: 441.8 kB / 1.183 GB, free: 47.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00499/1.13, allocations: 0.6913 MB / 1.184 GB, free: 46.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004558/1.135, allocations: 1.617 MB / 1.185 GB, free: 45.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/1.135, allocations: 221.8 kB / 1.185 GB, free: 45.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/1.136, allocations: 287.9 kB / 1.186 GB, free: 44.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/1.147, allocations: 4.594 MB / 1.19 GB, free: 40.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.99e-05/1.147, allocations: 7.938 kB / 1.19 GB, free: 40.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/1.147, allocations: 124 kB / 1.19 GB, free: 39.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/1.147, allocations: 188.7 kB / 1.19 GB, free: 39.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006965/1.154, allocations: 3.752 MB / 1.194 GB, free: 35.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02533/1.18, allocations: 23.06 MB / 1.217 GB, free: 10.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/1.182, allocations: 1.57 MB / 1.218 GB, free: 9.129 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/1.182, allocations: 97.8 kB / 1.218 GB, free: 9.016 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/1.182, allocations: 43.11 kB / 1.218 GB, free: 8.965 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.717e-06/1.182, allocations: 4 kB / 1.218 GB, free: 8.961 MB / 0.698 GB Notification: Performance of matching and sorting (n=75): time 0.005097/1.187, allocations: 3.552 MB / 1.222 GB, free: 5.379 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/1.188, allocations: 137.1 kB / 1.222 GB, free: 5.211 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/1.189, allocations: 0.9341 MB / 1.223 GB, free: 4.273 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.374e-05/1.189, allocations: 41.7 kB / 1.223 GB, free: 4.227 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/1.189, allocations: 1.192 MB / 1.224 GB, free: 3.016 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/1.19, allocations: 268.2 kB / 1.224 GB, free: 2.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/1.19, allocations: 24 kB / 1.224 GB, free: 2.727 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.19, allocations: 406.7 kB / 1.225 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009486/1.191, allocations: 0.7949 MB / 1.225 GB, free: 1.527 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.192, allocations: 1.268 MB / 1.227 GB, free: 40 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.193, allocations: 1.002 MB / 1.228 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.193, allocations: 7.938 kB / 1.228 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003212/1.197, allocations: 2.155 MB / 1.23 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002104/1.199, allocations: 5.493 MB / 1.235 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/1.199, allocations: 16 kB / 1.235 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.922e-05/1.199, allocations: 24 kB / 1.235 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/1.201, allocations: 419.2 kB / 1.236 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.082e-05/1.201, allocations: 27.92 kB / 1.236 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/1.202, allocations: 255.2 kB / 1.236 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/1.202, allocations: 63.98 kB / 1.236 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.202, allocations: 4.781 kB / 1.236 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002617/1.205, allocations: 1.749 MB / 1.238 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/1.205, allocations: 12.31 kB / 1.238 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.205, allocations: 31.94 kB / 1.238 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.206, allocations: 355.4 kB / 1.238 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-05/1.206, allocations: 39.81 kB / 1.238 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/1.207, allocations: 183.3 kB / 1.238 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/1.208, allocations: 60 kB / 1.238 GB, free: 3.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.002568/1.21, allocations: 1.164 MB / 1.239 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/1.211, allocations: 102.8 kB / 1.239 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/1.213, allocations: 1.502 MB / 1.241 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.213, allocations: 12 kB / 1.241 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.213, allocations: 15.89 kB / 1.241 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.213, allocations: 3.984 kB / 1.241 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/1.225, allocations: 7.265 MB / 1.248 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.225, allocations: 11.98 kB / 1.248 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.226, allocations: 259.6 kB / 1.248 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-05/1.226, allocations: 12 kB / 1.248 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.542e-05/1.226, allocations: 20.28 kB / 1.248 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-05/1.226, allocations: 23.92 kB / 1.248 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/1.226, allocations: 15.94 kB / 1.248 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/1.229, allocations: 2.418 MB / 1.251 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000874/1.23, allocations: 379.5 kB / 1.251 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/1.23, allocations: 23.98 kB / 1.251 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009407/1.231, allocations: 139.8 kB / 1.251 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.231, allocations: 67.78 kB / 1.251 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/1.232, allocations: 28 kB / 1.251 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001035/1.233, allocations: 0.7297 MB / 1.252 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.11e-07/1.233, allocations: 0 / 1.252 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002842/1.235, allocations: 0.8203 MB / 1.253 GB, free: 4.117 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (78): * Single equations (assignments): 78 * 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.003778/1.239, allocations: 5.556 MB / 1.258 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003951/1.243, allocations: 2.641 MB / 1.261 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.243, allocations: 8.125 kB / 1.261 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.244, allocations: 0.7357 MB / 1.262 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.246, allocations: 260 kB / 1.262 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02454/1.27, allocations: 20.32 MB / 1.282 GB, free: 5.754 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/1.273, allocations: 2.171 MB / 1.284 GB, free: 3.551 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002305/1.275, allocations: 0.7422 MB / 1.285 GB, free: 2.805 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.277, allocations: 0.8117 MB / 1.285 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of SimCode: time 1.132e-06/1.277, allocations: 0 / 1.285 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05273/1.33, allocations: 30.2 MB / 1.315 GB, free: 4.082 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/1.33, allocations: 206 kB / 1.315 GB, free: 3.844 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/3.742, allocations: 2.344 kB / 1.315 GB, free: 3.844 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)