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.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001121/0.001121, allocations: 187.5 kB / 371.8 MB, free: 10.3 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.35/1.35, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008256/0.0008255, allocations: 104 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003895, allocations: 15.5 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2087, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004854/0.2136, allocations: 5.207 MB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003747/0.2174, allocations: 2.999 MB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.2179, allocations: 27.81 kB / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.2182, allocations: 107.2 kB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008217/0.219, allocations: 346.9 kB / 0.988 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008723/0.2199, allocations: 372.7 kB / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.2207, allocations: 0.6415 MB / 0.9889 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.2222, allocations: 0.8937 MB / 0.9898 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004971/0.2227, allocations: 334.7 kB / 0.9901 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.2232, allocations: 338.7 kB / 0.9905 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.2233, allocations: 32 kB / 0.9905 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/0.2238, allocations: 211.6 kB / 0.9907 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.224, allocations: 227.3 kB / 0.9909 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.2241, allocations: 165.3 kB / 0.9911 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.2248, allocations: 0.8339 MB / 0.9919 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2249, allocations: 0 / 0.9919 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2249, allocations: 3.984 kB / 0.9919 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.2249, allocations: 0 / 0.9919 GB, free: 14.86 MB / 0.6198 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.001219/0.2261, allocations: 0.9076 MB / 0.9928 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2262, allocations: 12.02 kB / 0.9928 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.2263, allocations: 114.5 kB / 0.9929 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.2274, allocations: 210.8 kB / 0.9931 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.2281, allocations: 0.5132 MB / 0.9936 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.2282, allocations: 49.3 kB / 0.9936 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/0.2282, allocations: 59.98 kB / 0.9937 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.2293, allocations: 1.022 MB / 0.9947 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.2294, allocations: 11.84 kB / 0.9947 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.2294, allocations: 31.98 kB / 0.9947 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-05/0.2295, allocations: 65.27 kB / 0.9948 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008895/0.2304, allocations: 0.6879 MB / 0.9955 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/0.2343, allocations: 5.76 MB / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.235, allocations: 0.5903 MB / 1.002 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.235, allocations: 8 kB / 1.002 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2351, allocations: 46.55 kB / 1.002 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.376e-06/0.2351, allocations: 0 / 1.002 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0033/0.2384, allocations: 1.893 MB / 1.004 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.2384, allocations: 59.41 kB / 1.004 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.2388, allocations: 454.7 kB / 1.004 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.2388, allocations: 33.7 kB / 1.004 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.239, allocations: 387 kB / 1.004 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.239, allocations: 145.9 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.2391, allocations: 12 kB / 1.005 GB, free: 1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.2392, allocations: 366.8 kB / 1.005 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.2394, allocations: 225.2 kB / 1.005 GB, free: 424 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.2398, allocations: 453 kB / 1.006 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.2402, allocations: 295.7 kB / 1.006 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.2402, allocations: 7.984 kB / 1.006 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001665/0.2419, allocations: 0.9756 MB / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.2419, allocations: 10.59 kB / 1.007 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.2419, allocations: 8 kB / 1.007 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008769/0.2428, allocations: 275.2 kB / 1.007 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.2432, allocations: 107.8 kB / 1.007 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006462/0.2497, allocations: 6.743 MB / 1.014 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.2502, allocations: 27.97 kB / 1.014 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.2502, allocations: 28 kB / 1.014 GB, free: 6.848 MB / 0.6355 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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003686/0.2506, allocations: 240 kB / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.872e-05/0.2507, allocations: 63.3 kB / 1.014 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.2523, allocations: 0.8301 MB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.2523, allocations: 8 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2523, allocations: 0 / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.2523, allocations: 7.984 kB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.2551, allocations: 1.718 MB / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.2551, allocations: 4.031 kB / 1.017 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.2554, allocations: 47.97 kB / 1.017 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000775/0.2561, allocations: 251.4 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.2562, allocations: 8 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005848/0.262, allocations: 6.451 MB / 1.023 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2621, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.2638, allocations: 0.9742 MB / 1.024 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.2641, allocations: 168.9 kB / 1.024 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.2642, allocations: 8 kB / 1.024 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.2645, allocations: 27.97 kB / 1.024 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.2646, allocations: 43.84 kB / 1.024 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.2646, allocations: 12 kB / 1.024 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000382/0.265, allocations: 298.9 kB / 1.025 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.265, allocations: 0 / 1.025 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008632/0.2659, allocations: 188 kB / 1.025 GB, free: 10.73 MB / 0.6511 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002016/0.2679, allocations: 1.945 MB / 1.027 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.2698, allocations: 1.137 MB / 1.028 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.2698, allocations: 0 / 1.028 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.2709, allocations: 0.7996 MB / 1.029 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008982/0.2718, allocations: 186.8 kB / 1.029 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/0.2794, allocations: 8.383 MB / 1.037 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.2801, allocations: 1.008 MB / 1.038 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003637/0.2804, allocations: 105.2 kB / 1.038 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.2807, allocations: 219.4 kB / 1.038 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of SimCode: time 7.01e-07/0.2807, allocations: 0 / 1.038 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.3108, allocations: 13.91 MB / 1.052 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/0.3112, allocations: 212.7 kB / 1.052 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/2.649, allocations: 0 / 1.052 GB, free: 14.65 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)