Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.656/1.656, allocations: 288.2 MB / 303.2 MB, free: 8.215 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.001425/0.001425, allocations: 183.7 kB / 371.8 MB, free: 10.28 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.581/1.581, 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.0009841/0.0009841, allocations: 94.84 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003827, allocations: 11.16 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2474, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8545/1.102, allocations: 181.9 MB / 1.157 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/1.102, allocations: 98.25 kB / 1.157 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07507/1.178, allocations: 28.81 MB / 1.185 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.088e-06/1.178, allocations: 0 / 1.185 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.179e-05/1.178, allocations: 11.94 kB / 1.185 GB, free: 8.355 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001703/1.179, allocations: 0.7477 MB / 1.186 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.179, allocations: 12.02 kB / 1.186 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/1.18, allocations: 74.34 kB / 1.186 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/1.182, allocations: 0.5683 MB / 1.187 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009926/1.183, allocations: 488.5 kB / 1.187 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/1.183, allocations: 22.97 kB / 1.187 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.242e-05/1.183, allocations: 31.38 kB / 1.187 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/1.185, allocations: 0.7563 MB / 1.188 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.185, allocations: 0 / 1.188 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/1.185, allocations: 13.44 kB / 1.188 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/1.185, allocations: 24.33 kB / 1.188 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/1.187, allocations: 0.8602 MB / 1.189 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/1.191, allocations: 2.868 MB / 1.192 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/1.193, allocations: 0.5191 MB / 1.192 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/1.193, allocations: 92.8 kB / 1.192 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.193, allocations: 38.55 kB / 1.192 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 3.206e-06/1.193, allocations: 0 / 1.192 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.01038/1.204, allocations: 2.945 MB / 1.195 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.204, allocations: 81.05 kB / 1.195 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006896/1.205, allocations: 384 kB / 1.196 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/1.205, allocations: 28.83 kB / 1.196 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/1.205, allocations: 233.8 kB / 1.196 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/1.205, allocations: 86.31 kB / 1.196 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/1.205, allocations: 3.5 kB / 1.196 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.205, allocations: 347.6 kB / 1.196 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00089/1.206, allocations: 356.6 kB / 1.197 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009705/1.207, allocations: 446.2 kB / 1.197 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/1.208, allocations: 392.7 kB / 1.197 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.208, allocations: 4 kB / 1.197 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004522/1.213, allocations: 1.399 MB / 1.199 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004076/1.213, allocations: 0.7916 MB / 1.2 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.213, allocations: 4 kB / 1.2 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003378/1.217, allocations: 0.7097 MB / 1.2 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/1.217, allocations: 127.8 kB / 1.2 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004536/1.222, allocations: 3.25 MB / 1.204 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008783/1.223, allocations: 118.2 kB / 1.204 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/1.223, allocations: 19.61 kB / 1.204 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.223, allocations: 4 kB / 1.204 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003679/1.226, allocations: 1.144 MB / 1.205 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.226, allocations: 8.281 kB / 1.205 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/1.229, allocations: 461 kB / 1.205 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008168/1.23, allocations: 154.9 kB / 1.205 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004096/1.234, allocations: 2.525 MB / 1.208 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/1.234, allocations: 103 kB / 1.208 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/1.234, allocations: 19.48 kB / 1.208 GB, free: 3.582 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005826/1.235, allocations: 315.8 kB / 1.208 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/1.235, allocations: 39.58 kB / 1.208 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/1.239, allocations: 1.321 MB / 1.21 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.239, allocations: 0 / 1.21 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.239, allocations: 4 kB / 1.21 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/1.239, allocations: 3.984 kB / 1.21 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005234/1.245, allocations: 1.986 MB / 1.212 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/1.245, allocations: 0 / 1.212 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/1.245, allocations: 91.14 kB / 1.212 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003067/1.248, allocations: 0.6876 MB / 1.212 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/1.248, allocations: 3.375 kB / 1.212 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006157/1.254, allocations: 4.571 MB / 1.217 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.255, allocations: 0 / 1.217 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/1.259, allocations: 1.375 MB / 1.218 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/1.259, allocations: 180.5 kB / 1.218 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.772e-05/1.259, allocations: 7.938 kB / 1.218 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/1.26, allocations: 83.86 kB / 1.218 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/1.26, allocations: 23.66 kB / 1.218 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/1.26, allocations: 10.86 kB / 1.218 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005151/1.261, allocations: 313.5 kB / 1.219 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.71e-07/1.261, allocations: 3.938 kB / 1.219 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001152/1.262, allocations: 219.6 kB / 1.219 GB, free: 9.691 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004622/1.266, allocations: 2.183 MB / 1.221 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003614/1.27, allocations: 1.502 MB / 1.223 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.27, allocations: 3.938 kB / 1.223 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/1.271, allocations: 0.6601 MB / 1.223 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/1.272, allocations: 112.8 kB / 1.223 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009517/1.282, allocations: 5.276 MB / 1.228 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/1.282, allocations: 0.9202 MB / 1.229 GB, free: 180 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006091/1.283, allocations: 147.2 kB / 1.23 GB, free: 32 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/1.283, allocations: 137 kB / 1.23 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of SimCode: time 5.491e-06/1.283, allocations: 0 / 1.23 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/1.319, allocations: 15.9 MB / 1.245 GB, free: 340 kB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/1.319, allocations: 233.7 kB / 1.245 GB, free: 96 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.702, allocations: 8.062 kB / 1.245 GB, free: 88 kB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)