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.001063/0.001063, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 198.6 kB / 16.53 MB, free: 6.664 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.22/1.22, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.676/1.676, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001488/0.001488, allocations: 70.84 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1848, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007741/0.1926, allocations: 6.061 MB / 0.7894 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005128/0.1978, allocations: 3.204 MB / 0.7925 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005125/0.1983, allocations: 27.81 kB / 0.7926 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.2007, allocations: 0.9297 MB / 0.7935 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.2018, allocations: 481.5 kB / 0.7939 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.2029, allocations: 485.5 kB / 0.7944 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001159/0.204, allocations: 1.085 MB / 0.7954 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008968/0.2049, allocations: 0.643 MB / 0.7961 GB, free: 464 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005978/0.2056, allocations: 426.4 kB / 0.7965 GB, free: 36 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006653/0.2062, allocations: 478.2 kB / 0.7969 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.2064, allocations: 60 kB / 0.797 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008306/0.2072, allocations: 483 kB / 0.7975 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.2075, allocations: 287.2 kB / 0.7977 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.2079, allocations: 405.9 kB / 0.7981 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.2091, allocations: 1.16 MB / 0.7992 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2091, allocations: 0 / 0.7992 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2091, allocations: 4 kB / 0.7992 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.2091, allocations: 3.938 kB / 0.7993 GB, free: 13.18 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.001492/0.2106, allocations: 1.052 MB / 0.8003 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2106, allocations: 8.031 kB / 0.8003 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.2108, allocations: 114.7 kB / 0.8004 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.2122, allocations: 223.6 kB / 0.8006 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.213, allocations: 0.5376 MB / 0.8011 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.213, allocations: 41.69 kB / 0.8012 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.2131, allocations: 72.28 kB / 0.8012 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.2144, allocations: 1.033 MB / 0.8023 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.2144, allocations: 7.906 kB / 0.8023 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-05/0.2145, allocations: 28 kB / 0.8023 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.033e-05/0.2146, allocations: 73.2 kB / 0.8024 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/0.2156, allocations: 0.6918 MB / 0.803 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004504/0.2201, allocations: 5.741 MB / 0.8086 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/0.2209, allocations: 0.6052 MB / 0.8092 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/0.2217, allocations: 421.3 kB / 0.8096 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.2217, allocations: 7.781 kB / 0.8096 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2217, allocations: 34.56 kB / 0.8097 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.2217, allocations: 0 / 0.8097 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.00427/0.226, allocations: 2.053 MB / 0.8117 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.2261, allocations: 55.41 kB / 0.8117 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.2265, allocations: 462.7 kB / 0.8122 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.2265, allocations: 29.7 kB / 0.8122 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.2267, allocations: 391 kB / 0.8126 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.2269, allocations: 157.8 kB / 0.8127 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.227, allocations: 102.2 kB / 0.8128 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2272, allocations: 366.7 kB / 0.8132 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.2275, allocations: 245.2 kB / 0.8134 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.228, allocations: 465 kB / 0.8138 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008538/0.2288, allocations: 0.7519 MB / 0.8146 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2288, allocations: 4 kB / 0.8146 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001793/0.2306, allocations: 1.062 MB / 0.8156 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2307, allocations: 12.11 kB / 0.8156 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.2307, allocations: 12 kB / 0.8156 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.2317, allocations: 335.1 kB / 0.816 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.232, allocations: 99.83 kB / 0.8161 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006731/0.2388, allocations: 7.516 MB / 0.8234 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.2392, allocations: 32.02 kB / 0.8234 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.2392, allocations: 28 kB / 0.8235 GB, free: 2.77 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.0002986/0.2395, allocations: 248 kB / 0.8237 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.2396, allocations: 59.34 kB / 0.8238 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.2413, allocations: 0.9159 MB / 0.8246 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2413, allocations: 4 kB / 0.8246 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2413, allocations: 4 kB / 0.8247 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2413, allocations: 3.984 kB / 0.8247 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.2439, allocations: 1.704 MB / 0.8263 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.2439, allocations: 4 kB / 0.8263 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.2441, allocations: 40.19 kB / 0.8264 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009425/0.245, allocations: 335.1 kB / 0.8267 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.2451, allocations: 12 kB / 0.8267 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006572/0.2516, allocations: 7.502 MB / 0.834 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.2517, allocations: 12 kB / 0.834 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.2534, allocations: 1.011 MB / 0.835 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.2536, allocations: 176.3 kB / 0.8352 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.2537, allocations: 8 kB / 0.8352 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.2539, allocations: 19.98 kB / 0.8352 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.2541, allocations: 43.88 kB / 0.8353 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.2541, allocations: 16 kB / 0.8353 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000315/0.2544, allocations: 310.8 kB / 0.8356 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2544, allocations: 0 / 0.8356 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007162/0.2551, allocations: 192 kB / 0.8358 GB, free: 5.422 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.001881/0.257, allocations: 1.568 MB / 0.8373 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002149/0.2592, allocations: 1.253 MB / 0.8385 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2592, allocations: 0 / 0.8385 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.2604, allocations: 0.8582 MB / 0.8393 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00098/0.2614, allocations: 203.3 kB / 0.8395 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007886/0.2693, allocations: 5.966 MB / 0.8454 GB, free: 11.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.2699, allocations: 0.9843 MB / 0.8463 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000316/0.2702, allocations: 105.2 kB / 0.8464 GB, free: 9.984 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.2704, allocations: 223.4 kB / 0.8466 GB, free: 9.766 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.2704, allocations: 0 / 0.8466 GB, free: 9.766 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4345/0.705, allocations: 15.16 MB / 0.8614 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.592/10.3, allocations: 10.56 kB / 0.8615 GB, free: 10.81 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)