Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001559/0.001559, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 222.1 MB, free: 5.508 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 2.013/2.013, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0007231/0.0007235, allocations: 13.34 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2931, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004825/0.298, allocations: 3.703 MB / 0.7909 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004371/0.3024, allocations: 2.921 MB / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.3028, allocations: 11.94 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.3033, allocations: 159.2 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.3044, allocations: 295 kB / 0.7942 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007937/0.3052, allocations: 171.6 kB / 0.7943 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005831/0.3058, allocations: 345.9 kB / 0.7946 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.3071, allocations: 0.7352 MB / 0.7954 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.3074, allocations: 151.5 kB / 0.7955 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.3077, allocations: 179.3 kB / 0.7957 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.3078, allocations: 16 kB / 0.7957 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.3084, allocations: 231.7 kB / 0.7959 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.3085, allocations: 135.6 kB / 0.796 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.323e-05/0.3086, allocations: 101.5 kB / 0.7961 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007051/0.3094, allocations: 0.6626 MB / 0.7968 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3094, allocations: 3.938 kB / 0.7968 GB, free: 2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3094, allocations: 4 kB / 0.7968 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.3094, allocations: 0 / 0.7968 GB, free: 1.996 MB / 0.6075 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.001238/0.3106, allocations: 0.7169 MB / 0.7975 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3107, allocations: 8.031 kB / 0.7975 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.287e-05/0.3108, allocations: 70.52 kB / 0.7976 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.3136, allocations: 0.7014 MB / 0.7983 GB, free: 452 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009214/0.3145, allocations: 470.8 kB / 0.7987 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.3146, allocations: 20.66 kB / 0.7987 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.3146, allocations: 35.84 kB / 0.7988 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.3162, allocations: 0.7903 MB / 0.7995 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.3162, allocations: 11.89 kB / 0.7995 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/0.3163, allocations: 12 kB / 0.7996 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.3164, allocations: 52.59 kB / 0.7996 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.3185, allocations: 0.8765 MB / 0.8005 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004245/0.3228, allocations: 2.862 MB / 0.8033 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.3245, allocations: 0.5176 MB / 0.8038 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.3246, allocations: 89.38 kB / 0.8038 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3246, allocations: 42.52 kB / 0.8039 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/0.3246, allocations: 0 / 0.8039 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.01521/0.3399, allocations: 3.213 MB / 0.807 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.827e-05/0.34, allocations: 77.11 kB / 0.8071 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.3411, allocations: 413.6 kB / 0.8075 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.3412, allocations: 33.7 kB / 0.8075 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.3415, allocations: 243.7 kB / 0.8078 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.3418, allocations: 86.83 kB / 0.8078 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.3418, allocations: 4 kB / 0.8078 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.3421, allocations: 342.8 kB / 0.8082 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.3434, allocations: 375.5 kB / 0.8085 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.3447, allocations: 445.9 kB / 0.809 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.346, allocations: 388.9 kB / 0.8093 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.346, allocations: 4 kB / 0.8093 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.006703/0.3527, allocations: 1.542 MB / 0.8108 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000679/0.3534, allocations: 0.7862 MB / 0.8116 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.3535, allocations: 7.984 kB / 0.8116 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004608/0.3581, allocations: 0.8481 MB / 0.8124 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.359, allocations: 131.8 kB / 0.8126 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006788/0.3658, allocations: 4.791 MB / 0.8172 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/0.3666, allocations: 119.8 kB / 0.8174 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.3667, allocations: 19.92 kB / 0.8174 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.3667, allocations: 0 / 0.8174 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003952/0.3707, allocations: 1.261 MB / 0.8186 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3707, allocations: 0 / 0.8186 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/0.3731, allocations: 0.5549 MB / 0.8191 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.3738, allocations: 151.8 kB / 0.8193 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.3772, allocations: 2.565 MB / 0.8218 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007595/0.378, allocations: 115.9 kB / 0.8219 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.3781, allocations: 15.98 kB / 0.8219 GB, free: 7.266 MB / 0.6387 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.0003983/0.3785, allocations: 316.9 kB / 0.8222 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.3785, allocations: 31.62 kB / 0.8223 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.3829, allocations: 1.43 MB / 0.8237 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.383, allocations: 0 / 0.8237 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.383, allocations: 4 kB / 0.8237 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.383, allocations: 3.984 kB / 0.8237 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005345/0.3884, allocations: 2.086 MB / 0.8257 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3884, allocations: 3.984 kB / 0.8257 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.3888, allocations: 83.91 kB / 0.8258 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003251/0.392, allocations: 0.7897 MB / 0.8266 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.3921, allocations: 7.938 kB / 0.8266 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005604/0.3977, allocations: 4.606 MB / 0.8311 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3977, allocations: 3.938 kB / 0.8311 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.402, allocations: 1.482 MB / 0.8325 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.4024, allocations: 172.6 kB / 0.8327 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.4025, allocations: 8 kB / 0.8327 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.403, allocations: 95.84 kB / 0.8328 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.4032, allocations: 23.91 kB / 0.8328 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.4032, allocations: 12 kB / 0.8328 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003579/0.4036, allocations: 311.1 kB / 0.8331 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4036, allocations: 0 / 0.8331 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008289/0.4044, allocations: 212 kB / 0.8333 GB, free: 11.18 MB / 0.6544 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.004728/0.4092, allocations: 2.24 MB / 0.8355 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003625/0.4128, allocations: 1.621 MB / 0.8371 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.4129, allocations: 4 kB / 0.8371 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.4142, allocations: 0.673 MB / 0.8377 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.4149, allocations: 116.5 kB / 0.8378 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.425, allocations: 5.394 MB / 0.8431 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.4256, allocations: 0.9132 MB / 0.844 GB, free: 15.97 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005811/0.4262, allocations: 159.2 kB / 0.8442 GB, free: 15.81 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.4265, allocations: 139.4 kB / 0.8443 GB, free: 15.68 MB / 0.67 GB Notification: Performance of SimCode: time 3.006e-06/0.4265, allocations: 0 / 0.8443 GB, free: 15.68 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.4598, allocations: 15.86 MB / 0.8598 GB, free: 64 kB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002911/0.4602, allocations: 215.8 kB / 0.86 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/2.459, allocations: 11.88 kB / 0.86 GB, free: 15.82 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: