Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008537/0.0008537, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004998/0.004998, allocations: 170.1 kB / 16.27 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.177/1.177, allocations: 205.4 MB / 222.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.533/1.533, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005507/0.0005507, allocations: 19.84 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1697, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005604/0.1753, allocations: 5.656 MB / 0.7935 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003803/0.1791, allocations: 3.174 MB / 0.7966 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.1793, allocations: 27.81 kB / 0.7967 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.1796, allocations: 119 kB / 0.7968 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007026/0.1803, allocations: 446 kB / 0.7972 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007251/0.181, allocations: 431.1 kB / 0.7976 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1822, allocations: 1.47 MB / 0.799 GB, free: 148 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.1836, allocations: 0.9881 MB / 0.8 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.1847, allocations: 366.3 kB / 0.8004 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000768/0.1855, allocations: 446.2 kB / 0.8008 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.508e-05/0.1856, allocations: 28 kB / 0.8008 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.187, allocations: 0.5692 MB / 0.8014 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003652/0.1873, allocations: 259.2 kB / 0.8016 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.1878, allocations: 379.6 kB / 0.802 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.1894, allocations: 1.164 MB / 0.8031 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1895, allocations: 0 / 0.8031 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1895, allocations: 0 / 0.8031 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.1895, allocations: 0 / 0.8031 GB, free: 11.94 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001855/0.1913, allocations: 0.9155 MB / 0.804 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1914, allocations: 8.031 kB / 0.804 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.1916, allocations: 118.7 kB / 0.8041 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/0.1942, allocations: 211.7 kB / 0.8043 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.1953, allocations: 0.5414 MB / 0.8049 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.1953, allocations: 41.69 kB / 0.8049 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.1955, allocations: 64.36 kB / 0.805 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.1976, allocations: 1.037 MB / 0.806 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/0.1976, allocations: 19.78 kB / 0.806 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.601e-05/0.1978, allocations: 24 kB / 0.806 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/0.1979, allocations: 69.27 kB / 0.8061 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.1996, allocations: 0.6918 MB / 0.8068 GB, free: 8 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007091/0.2067, allocations: 5.76 MB / 0.8124 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.2079, allocations: 0.5975 MB / 0.813 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.209, allocations: 429.2 kB / 0.8134 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.2091, allocations: 7.781 kB / 0.8134 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.2091, allocations: 34.55 kB / 0.8134 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.505e-06/0.2092, allocations: 0 / 0.8134 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.00655/0.2157, allocations: 2.069 MB / 0.8154 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.2158, allocations: 55.41 kB / 0.8155 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.2165, allocations: 458.7 kB / 0.8159 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.2165, allocations: 29.7 kB / 0.8159 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.2169, allocations: 387.1 kB / 0.8163 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.2171, allocations: 157.8 kB / 0.8165 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2172, allocations: 49.7 kB / 0.8165 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.2174, allocations: 366.8 kB / 0.8169 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.218, allocations: 245.2 kB / 0.8171 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007617/0.2188, allocations: 464.9 kB / 0.8175 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.2202, allocations: 0.748 MB / 0.8183 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2202, allocations: 4 kB / 0.8183 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00294/0.2232, allocations: 1.061 MB / 0.8193 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2232, allocations: 8 kB / 0.8193 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.2233, allocations: 8 kB / 0.8193 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.2248, allocations: 335.7 kB / 0.8196 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.2254, allocations: 95.81 kB / 0.8197 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008893/0.2343, allocations: 6.95 MB / 0.8265 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.2347, allocations: 32.02 kB / 0.8266 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.2347, allocations: 28 kB / 0.8266 GB, free: 2.297 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002957/0.235, allocations: 245.5 kB / 0.8268 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/0.2351, allocations: 55.34 kB / 0.8269 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.237, allocations: 0.9198 MB / 0.8278 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.237, allocations: 4 kB / 0.8278 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.237, allocations: 4 kB / 0.8278 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2371, allocations: 3.984 kB / 0.8278 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.2399, allocations: 1.7 MB / 0.8294 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.2399, allocations: 7.938 kB / 0.8294 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.2401, allocations: 44.17 kB / 0.8295 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009479/0.241, allocations: 327.3 kB / 0.8298 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.2411, allocations: 12 kB / 0.8298 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005688/0.2468, allocations: 6.943 MB / 0.8366 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2468, allocations: 3.938 kB / 0.8366 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.2482, allocations: 1.01 MB / 0.8376 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.2484, allocations: 172.4 kB / 0.8378 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.2485, allocations: 12 kB / 0.8378 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.2487, allocations: 27.97 kB / 0.8378 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.2488, allocations: 35.89 kB / 0.8378 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.2488, allocations: 12 kB / 0.8378 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002708/0.2491, allocations: 310.9 kB / 0.8381 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2491, allocations: 0 / 0.8381 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005755/0.2497, allocations: 196 kB / 0.8383 GB, free: 5.547 MB / 0.6544 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001686/0.2514, allocations: 1.549 MB / 0.8398 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.2529, allocations: 1.21 MB / 0.841 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.253, allocations: 3.938 kB / 0.841 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.254, allocations: 0.8699 MB / 0.8419 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009378/0.2549, allocations: 189.5 kB / 0.842 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006998/0.262, allocations: 6.257 MB / 0.8482 GB, free: 10.99 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.2625, allocations: 0.9959 MB / 0.8491 GB, free: 9.969 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002444/0.2627, allocations: 101.3 kB / 0.8492 GB, free: 9.867 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.263, allocations: 227.3 kB / 0.8494 GB, free: 9.645 MB / 0.67 GB Notification: Performance of SimCode: time 3.21e-07/0.263, allocations: 0 / 0.8494 GB, free: 9.645 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.48/4.742, allocations: 14.45 MB / 0.8635 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/4.743, allocations: 228.7 kB / 0.8638 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/7.163, allocations: 0 / 0.8638 GB, free: 11.2 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)