Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_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.0009146/0.0009146, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001097/0.001097, allocations: 172.7 kB / 15.95 MB, free: 208 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.797/1.797, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.885/1.885, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0006263/0.0006264, allocations: 18.06 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2765, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007012/0.2835, allocations: 5.437 MB / 0.7927 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004918/0.2885, allocations: 3.034 MB / 0.7957 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000656/0.2892, allocations: 31.75 kB / 0.7957 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.2897, allocations: 118.9 kB / 0.7958 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.291, allocations: 386 kB / 0.7962 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.2923, allocations: 369.8 kB / 0.7965 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001683/0.294, allocations: 1.221 MB / 0.7977 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.2959, allocations: 0.903 MB / 0.7986 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000878/0.2968, allocations: 366.5 kB / 0.799 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008748/0.2977, allocations: 434.3 kB / 0.7994 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.2979, allocations: 32 kB / 0.7994 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008737/0.2988, allocations: 243.6 kB / 0.7996 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000376/0.2992, allocations: 255.3 kB / 0.7999 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.2995, allocations: 165.3 kB / 0.8 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3007, allocations: 0.8769 MB / 0.8009 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3007, allocations: 0 / 0.8009 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.408e-06/0.3007, allocations: 7.984 kB / 0.8009 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.167e-05/0.3008, allocations: 0 / 0.8009 GB, free: 13.93 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.001827/0.3026, allocations: 0.9269 MB / 0.8018 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.3026, allocations: 8.031 kB / 0.8018 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002769/0.3029, allocations: 118.5 kB / 0.8019 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.3045, allocations: 226.7 kB / 0.8022 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009481/0.3055, allocations: 0.5249 MB / 0.8027 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.3055, allocations: 49.23 kB / 0.8027 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.3056, allocations: 60 kB / 0.8028 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.3072, allocations: 1.026 MB / 0.8038 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.3073, allocations: 11.84 kB / 0.8038 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.675e-05/0.3074, allocations: 31.98 kB / 0.8038 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.473e-05/0.3075, allocations: 65.27 kB / 0.8039 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.3086, allocations: 0.6879 MB / 0.8045 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005466/0.3141, allocations: 5.764 MB / 0.8102 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008083/0.315, allocations: 0.6018 MB / 0.8108 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.3157, allocations: 420.6 kB / 0.8112 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.3158, allocations: 4 kB / 0.8112 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.3158, allocations: 34.56 kB / 0.8112 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 3.106e-06/0.3158, allocations: 7.938 kB / 0.8112 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004133/0.3199, allocations: 2.05 MB / 0.8132 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.32, allocations: 59.41 kB / 0.8133 GB, free: 484 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004698/0.3205, allocations: 466.8 kB / 0.8137 GB, free: 8 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.3205, allocations: 29.7 kB / 0.8137 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.3208, allocations: 391 kB / 0.8141 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.3209, allocations: 145.9 kB / 0.8143 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.3209, allocations: 12 kB / 0.8143 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3211, allocations: 366.8 kB / 0.8146 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.3215, allocations: 241.2 kB / 0.8148 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.3219, allocations: 461 kB / 0.8153 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.3224, allocations: 311.8 kB / 0.8156 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3224, allocations: 0 / 0.8156 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001809/0.3242, allocations: 1.062 MB / 0.8166 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3243, allocations: 8 kB / 0.8166 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3243, allocations: 4 kB / 0.8166 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009788/0.3253, allocations: 335.5 kB / 0.817 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.3256, allocations: 103.8 kB / 0.8171 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006696/0.3323, allocations: 6.947 MB / 0.8238 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.3329, allocations: 32.02 kB / 0.8239 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/0.3329, allocations: 24 kB / 0.8239 GB, free: 4.898 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 (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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004016/0.3333, allocations: 249.5 kB / 0.8241 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.3335, allocations: 59.28 kB / 0.8242 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.3352, allocations: 0.9041 MB / 0.8251 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3352, allocations: 4 kB / 0.8251 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.3352, allocations: 8 kB / 0.8251 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3352, allocations: 0 / 0.8251 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.3379, allocations: 1.712 MB / 0.8267 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3379, allocations: 0 / 0.8267 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.3381, allocations: 43.91 kB / 0.8268 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009075/0.339, allocations: 323.2 kB / 0.8271 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.3391, allocations: 12 kB / 0.8271 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006686/0.3458, allocations: 6.936 MB / 0.8339 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3458, allocations: 4 kB / 0.8339 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.3476, allocations: 1.007 MB / 0.8349 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.3479, allocations: 168.4 kB / 0.835 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.348, allocations: 23.88 kB / 0.8351 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.3483, allocations: 19.98 kB / 0.8351 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3485, allocations: 47.88 kB / 0.8351 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.3485, allocations: 8 kB / 0.8351 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004103/0.3489, allocations: 314.9 kB / 0.8354 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3489, allocations: 0 / 0.8354 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009395/0.3499, allocations: 192 kB / 0.8356 GB, free: 8.164 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 (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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002027/0.3519, allocations: 1.556 MB / 0.8371 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.3538, allocations: 1.204 MB / 0.8383 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3539, allocations: 0 / 0.8383 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.355, allocations: 0.8583 MB / 0.8391 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009648/0.356, allocations: 189.7 kB / 0.8393 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007476/0.3635, allocations: 4.03 MB / 0.8433 GB, free: 8 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008853/0.3644, allocations: 0.9921 MB / 0.8442 GB, free: 14.99 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004474/0.3649, allocations: 101.2 kB / 0.8443 GB, free: 14.89 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.3653, allocations: 231.4 kB / 0.8445 GB, free: 14.66 MB / 0.67 GB Notification: Performance of SimCode: time 2.364e-06/0.3653, allocations: 0 / 0.8445 GB, free: 14.66 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.3994, allocations: 14.58 MB / 0.8588 GB, free: 412 kB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.3996, allocations: 233.1 kB / 0.859 GB, free: 160 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.41, allocations: 3.938 kB / 0.859 GB, free: 156 kB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: