Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.593/2.593, allocations: 287.3 MB / 302.3 MB, free: 8.367 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.001581/0.001581, allocations: 185.1 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.079/2.079, 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.00115/0.00115, allocations: 102 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007303/0.0007304, allocations: 12.41 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2311, allocations: 115.2 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.273, allocations: 180.9 MB / 1.155 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004415/1.273, allocations: 102.1 kB / 1.155 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7603/2.034, allocations: 160.4 MB / 1.312 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.307e-06/2.034, allocations: 0 / 1.312 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002897/2.034, allocations: 95.98 kB / 1.312 GB, free: 13.18 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01615/2.05, allocations: 3.486 MB / 1.315 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/2.05, allocations: 12.02 kB / 1.315 GB, free: 9.617 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003335/2.054, allocations: 0.6364 MB / 1.316 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009131/2.063, allocations: 0.9666 MB / 1.317 GB, free: 7.996 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008702/2.072, allocations: 2.287 MB / 1.319 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006009/2.072, allocations: 332.6 kB / 1.319 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002688/2.075, allocations: 420 kB / 1.32 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02499/2.1, allocations: 6.691 MB / 1.326 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002474/2.1, allocations: 19.77 kB / 1.326 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00178/2.102, allocations: 184 kB / 1.326 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005177/2.103, allocations: 255 kB / 1.327 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/2.121, allocations: 5.328 MB / 1.332 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06886/2.19, allocations: 32.47 MB / 1.364 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005395/2.195, allocations: 1.86 MB / 1.365 GB, free: 2.992 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/2.196, allocations: 105.8 kB / 1.366 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/2.196, allocations: 51.25 kB / 1.366 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=86): time 4.008e-06/2.196, allocations: 4 kB / 1.366 GB, free: 2.809 MB / 0.8855 GB Notification: Performance of matching and sorting (n=89): time 0.01482/2.211, allocations: 4.763 MB / 1.37 GB, free: 14 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/2.211, allocations: 137.2 kB / 1.37 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/2.215, allocations: 1.467 MB / 1.372 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003224/2.215, allocations: 45.7 kB / 1.372 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/2.217, allocations: 1.905 MB / 1.374 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000685/2.218, allocations: 335.5 kB / 1.374 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/2.218, allocations: 40 kB / 1.374 GB, free: 10 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002976/2.219, allocations: 398 kB / 1.374 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/2.222, allocations: 1.089 MB / 1.376 GB, free: 8.516 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004439/2.226, allocations: 2.161 MB / 1.378 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004095/2.23, allocations: 1.515 MB / 1.379 GB, free: 4.316 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-05/2.23, allocations: 12 kB / 1.379 GB, free: 4.305 MB / 0.9011 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009949/2.24, allocations: 3.288 MB / 1.382 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.006343/2.247, allocations: 13.41 MB / 1.395 GB, free: 2.547 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/2.247, allocations: 32 kB / 1.395 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-05/2.247, allocations: 52 kB / 1.395 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004673/2.252, allocations: 0.6278 MB / 1.396 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001195/2.252, allocations: 71.72 kB / 1.396 GB, free: 1.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004323/2.256, allocations: 366.7 kB / 1.397 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006018/2.257, allocations: 116 kB / 1.397 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/2.257, allocations: 4 kB / 1.397 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007842/2.265, allocations: 2.726 MB / 1.399 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/2.265, allocations: 36 kB / 1.399 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.506e-05/2.265, allocations: 56.16 kB / 1.399 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003941/2.269, allocations: 0.5537 MB / 1.4 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.339e-05/2.269, allocations: 71.72 kB / 1.4 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/2.272, allocations: 255.1 kB / 1.4 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004438/2.273, allocations: 119.9 kB / 1.4 GB, free: 13.48 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.004632/2.277, allocations: 1.701 MB / 1.402 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006535/2.278, allocations: 158.1 kB / 1.402 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00566/2.284, allocations: 1.887 MB / 1.404 GB, free: 9.715 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/2.284, allocations: 12 kB / 1.404 GB, free: 9.703 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/2.284, allocations: 4 kB / 1.404 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.373e-05/2.284, allocations: 11.94 kB / 1.404 GB, free: 9.688 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/2.308, allocations: 8.758 MB / 1.413 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/2.308, allocations: 12 kB / 1.413 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/2.31, allocations: 339.5 kB / 1.413 GB, free: 380 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.658e-05/2.31, allocations: 16 kB / 1.413 GB, free: 364 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/2.31, allocations: 24 kB / 1.413 GB, free: 340 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.322e-05/2.31, allocations: 15.94 kB / 1.413 GB, free: 324 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/2.31, allocations: 15.94 kB / 1.413 GB, free: 308 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005551/2.316, allocations: 2.894 MB / 1.416 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/2.317, allocations: 462.8 kB / 1.416 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/2.318, allocations: 23.98 kB / 1.416 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002118/2.32, allocations: 171.7 kB / 1.416 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/2.32, allocations: 84.27 kB / 1.417 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/2.321, allocations: 32 kB / 1.417 GB, free: 12.25 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002662/2.323, allocations: 1.092 MB / 1.418 GB, free: 11.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/2.323, allocations: 0 / 1.418 GB, free: 11.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007071/2.33, allocations: 1.23 MB / 1.419 GB, free: 9.926 MB / 0.948 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 (92): * Single equations (assignments): 92 * 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.007316/2.338, allocations: 5.913 MB / 1.425 GB, free: 3.734 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.7126/3.05, allocations: 3.785 MB / 1.428 GB, free: 255.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/3.05, allocations: 2.688 kB / 1.428 GB, free: 255.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002817/3.053, allocations: 0.887 MB / 1.429 GB, free: 255.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/3.057, allocations: 375.7 kB / 1.43 GB, free: 255.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04952/3.106, allocations: 39.41 MB / 1.468 GB, free: 226.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008216/3.115, allocations: 2.927 MB / 1.471 GB, free: 226 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00647/3.121, allocations: 1.205 MB / 1.472 GB, free: 225.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003624/3.125, allocations: 1.285 MB / 1.473 GB, free: 225.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.024e-06/3.125, allocations: 0 / 1.473 GB, free: 225.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/3.247, allocations: 45.18 MB / 1.517 GB, free: 224.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/3.247, allocations: 197.1 kB / 1.518 GB, free: 224 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.69/6.937, allocations: 0 / 1.518 GB, free: 224 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)