Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.0013/0.0013, allocations: 185 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.0008525/0.0008523, allocations: 100.5 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003898, allocations: 11 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2361, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01435/0.2505, allocations: 18.16 MB / 0.9972 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009108/0.2596, allocations: 7.14 MB / 1.004 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.2613, allocations: 51.81 kB / 1.004 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.2625, allocations: 389.5 kB / 1.005 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.2652, allocations: 0.7709 MB / 1.005 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.2685, allocations: 1.13 MB / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003484/0.272, allocations: 2.012 MB / 1.008 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01244/0.2845, allocations: 6.54 MB / 1.015 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.2877, allocations: 1.051 MB / 1.016 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/0.2906, allocations: 1.203 MB / 1.017 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009582/0.2915, allocations: 172 kB / 1.017 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.2933, allocations: 423.5 kB / 1.018 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00208/0.2954, allocations: 1.228 MB / 1.019 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.2967, allocations: 0.555 MB / 1.019 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005605/0.3023, allocations: 5.116 MB / 1.024 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3023, allocations: 0 / 1.024 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.295e-06/0.3023, allocations: 3.938 kB / 1.024 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002267/0.3026, allocations: 0 / 1.024 GB, free: 13.47 MB / 0.6511 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.006438/0.309, allocations: 2.474 MB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.3091, allocations: 8.031 kB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001701/0.3108, allocations: 445.8 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004323/0.3151, allocations: 0.7263 MB / 1.028 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00435/0.3195, allocations: 1.515 MB / 1.029 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.3198, allocations: 217.8 kB / 1.03 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.321, allocations: 284 kB / 1.03 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.334, allocations: 5.003 MB / 1.035 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.3342, allocations: 15.88 kB / 1.035 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007351/0.3349, allocations: 127.9 kB / 1.035 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003024/0.3353, allocations: 212.6 kB / 1.035 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009398/0.3447, allocations: 4.161 MB / 1.039 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03262/0.3773, allocations: 23.01 MB / 1.062 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.3805, allocations: 1.715 MB / 1.063 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.3807, allocations: 105.7 kB / 1.063 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.3808, allocations: 43.22 kB / 1.063 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=84): time 5.35e-06/0.3808, allocations: 3.938 kB / 1.063 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.5362/0.917, allocations: 3.997 MB / 1.067 GB, free: 84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.9171, allocations: 141.5 kB / 1.067 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.9186, allocations: 0.8421 MB / 1.068 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.9188, allocations: 42.2 kB / 1.068 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008306/0.9196, allocations: 1.161 MB / 1.069 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003849/0.92, allocations: 308.9 kB / 1.07 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.9201, allocations: 28.5 kB / 1.07 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9203, allocations: 409.6 kB / 1.07 GB, free: 82.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.9219, allocations: 0.7904 MB / 1.071 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.9238, allocations: 1.287 MB / 1.072 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.9254, allocations: 0.9946 MB / 1.073 GB, free: 80.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.9254, allocations: 4.594 kB / 1.073 GB, free: 80.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004219/0.9296, allocations: 2.167 MB / 1.075 GB, free: 80 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001071/0.9307, allocations: 5.495 MB / 1.081 GB, free: 74.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.9308, allocations: 14.75 kB / 1.081 GB, free: 74.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.187e-05/0.9308, allocations: 22.78 kB / 1.081 GB, free: 74.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.9326, allocations: 409.5 kB / 1.081 GB, free: 74.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.421e-05/0.9326, allocations: 32.08 kB / 1.081 GB, free: 74.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.934, allocations: 203.6 kB / 1.081 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.9342, allocations: 59.14 kB / 1.081 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.9342, allocations: 5.344 kB / 1.081 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002847/0.937, allocations: 1.763 MB / 1.083 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.9371, allocations: 18.42 kB / 1.083 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.9371, allocations: 22.69 kB / 1.083 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.9385, allocations: 358 kB / 1.083 GB, free: 73.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.964e-05/0.9386, allocations: 28 kB / 1.084 GB, free: 73.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.9398, allocations: 150.2 kB / 1.084 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.9399, allocations: 55.92 kB / 1.084 GB, free: 73.29 MB / 0.6823 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.002502/0.9424, allocations: 1.176 MB / 1.085 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/0.9428, allocations: 103.8 kB / 1.085 GB, free: 72.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.9464, allocations: 1.85 MB / 1.087 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.9464, allocations: 15.86 kB / 1.087 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.9464, allocations: 1.531 kB / 1.087 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.9464, allocations: 5.938 kB / 1.087 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.9627, allocations: 9.582 MB / 1.096 GB, free: 68.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/0.9628, allocations: 10.53 kB / 1.096 GB, free: 68.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.9641, allocations: 315.8 kB / 1.096 GB, free: 68.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.752e-05/0.9641, allocations: 16.16 kB / 1.096 GB, free: 68.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-05/0.9642, allocations: 30.25 kB / 1.096 GB, free: 68.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.299e-05/0.9642, allocations: 22.97 kB / 1.097 GB, free: 68.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.691e-05/0.9642, allocations: 28.06 kB / 1.097 GB, free: 68.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.9676, allocations: 2.972 MB / 1.099 GB, free: 65.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007889/0.9684, allocations: 385.4 kB / 1.1 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.9685, allocations: 29.27 kB / 1.1 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009362/0.9695, allocations: 139.7 kB / 1.1 GB, free: 65.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.9697, allocations: 91.06 kB / 1.1 GB, free: 65.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.584e-05/0.9698, allocations: 44.2 kB / 1.1 GB, free: 65.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009479/0.9707, allocations: 0.5807 MB / 1.101 GB, free: 65.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9707, allocations: 0 / 1.101 GB, free: 65.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003252/0.974, allocations: 0.7489 MB / 1.101 GB, free: 65.22 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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.004037/0.978, allocations: 6.929 MB / 1.108 GB, free: 59.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004545/0.9826, allocations: 2.824 MB / 1.111 GB, free: 58.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.9826, allocations: 1.094 kB / 1.111 GB, free: 58.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.984, allocations: 0.9154 MB / 1.112 GB, free: 57.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.9855, allocations: 265.5 kB / 1.112 GB, free: 57.67 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/1.007, allocations: 20.8 MB / 1.132 GB, free: 40.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/1.01, allocations: 2.174 MB / 1.135 GB, free: 39.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002094/1.012, allocations: 0.7412 MB / 1.135 GB, free: 39.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.013, allocations: 0.8347 MB / 1.136 GB, free: 38.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/1.013, allocations: 0 / 1.136 GB, free: 38.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06759/1.08, allocations: 31.09 MB / 1.166 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/1.081, allocations: 224.6 kB / 1.167 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/3.806, allocations: 4 kB / 1.167 GB, free: 9.773 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)