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.001227/0.001227, allocations: 109.4 kB / 15.69 MB, free: 124 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.001347/0.001347, allocations: 188.4 kB / 16.62 MB, free: 6.578 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.627/1.627, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.868/1.868, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.002319/0.002319, allocations: 71.31 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.308, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008218/0.3163, allocations: 6.119 MB / 0.7896 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005569/0.3219, allocations: 3.235 MB / 0.7928 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.3226, allocations: 31.81 kB / 0.7928 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002486/0.3251, allocations: 0.9402 MB / 0.7937 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.3266, allocations: 473.5 kB / 0.7942 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.3281, allocations: 0.4983 MB / 0.7947 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.3297, allocations: 1.096 MB / 0.7957 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.3308, allocations: 0.6313 MB / 0.7963 GB, free: 180 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008166/0.3317, allocations: 442.2 kB / 0.7968 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000687/0.3324, allocations: 478.2 kB / 0.7972 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.3325, allocations: 56 kB / 0.7973 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.3339, allocations: 495 kB / 0.7977 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.3343, allocations: 287.2 kB / 0.798 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.3348, allocations: 405.9 kB / 0.7984 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.3369, allocations: 1.172 MB / 0.7995 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.3369, allocations: 0 / 0.7995 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.126e-06/0.337, allocations: 3.938 kB / 0.7996 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.337, allocations: 0 / 0.7996 GB, free: 12.88 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.002311/0.3393, allocations: 1.059 MB / 0.8006 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001076/0.3394, allocations: 8.031 kB / 0.8006 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/0.3396, allocations: 118.7 kB / 0.8007 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.3412, allocations: 223.6 kB / 0.8009 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008775/0.3421, allocations: 0.5922 MB / 0.8015 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.3422, allocations: 49.61 kB / 0.8015 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.643e-05/0.3423, allocations: 68.27 kB / 0.8016 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.3436, allocations: 1.03 MB / 0.8026 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.3437, allocations: 7.938 kB / 0.8026 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.3438, allocations: 31.98 kB / 0.8027 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.3439, allocations: 73.27 kB / 0.8027 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/0.3449, allocations: 0.6879 MB / 0.8034 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.3499, allocations: 5.737 MB / 0.809 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/0.3507, allocations: 0.601 MB / 0.8096 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007337/0.3514, allocations: 420.6 kB / 0.81 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.3515, allocations: 4 kB / 0.81 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3515, allocations: 38.56 kB / 0.81 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.804e-06/0.3515, allocations: 0 / 0.81 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004295/0.3558, allocations: 2.057 MB / 0.812 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3559, allocations: 59.41 kB / 0.8121 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.3563, allocations: 462.8 kB / 0.8125 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.3564, allocations: 37.64 kB / 0.8126 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.3567, allocations: 391 kB / 0.8129 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3568, allocations: 153.8 kB / 0.8131 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.3569, allocations: 114.2 kB / 0.8132 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3571, allocations: 362.8 kB / 0.8135 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.3574, allocations: 245.2 kB / 0.8138 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.3579, allocations: 468.9 kB / 0.8142 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.359, allocations: 0.752 MB / 0.815 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.359, allocations: 0 / 0.815 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001853/0.3608, allocations: 1.07 MB / 0.816 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3609, allocations: 12.16 kB / 0.816 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.3609, allocations: 11.98 kB / 0.816 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.3619, allocations: 327.1 kB / 0.8163 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.3623, allocations: 95.83 kB / 0.8164 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007168/0.3694, allocations: 7.505 MB / 0.8238 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.37, allocations: 39.95 kB / 0.8238 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.3701, allocations: 24 kB / 0.8238 GB, free: 2.395 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.0004706/0.3706, allocations: 248 kB / 0.8241 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3707, allocations: 55.34 kB / 0.8241 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.3727, allocations: 0.916 MB / 0.825 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.3727, allocations: 4.141 kB / 0.825 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3728, allocations: 4 kB / 0.825 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3728, allocations: 7.969 kB / 0.825 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.3755, allocations: 1.716 MB / 0.8267 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3755, allocations: 4 kB / 0.8267 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.3757, allocations: 39.97 kB / 0.8267 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009171/0.3766, allocations: 327.2 kB / 0.827 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.3767, allocations: 8 kB / 0.8271 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006949/0.3836, allocations: 7.506 MB / 0.8344 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3837, allocations: 0 / 0.8344 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.3855, allocations: 1.011 MB / 0.8354 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.3858, allocations: 180.3 kB / 0.8355 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.386, allocations: 12 kB / 0.8356 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.3863, allocations: 23.95 kB / 0.8356 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.3864, allocations: 39.95 kB / 0.8356 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.3864, allocations: 12 kB / 0.8356 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004212/0.3869, allocations: 318.7 kB / 0.8359 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.61e-07/0.3869, allocations: 0 / 0.8359 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000836/0.3877, allocations: 196 kB / 0.8361 GB, free: 5.043 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.00202/0.3897, allocations: 1.56 MB / 0.8376 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002029/0.3918, allocations: 1.222 MB / 0.8388 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3918, allocations: 0 / 0.8388 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.393, allocations: 0.8542 MB / 0.8397 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.3941, allocations: 219 kB / 0.8399 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008736/0.4028, allocations: 5.891 MB / 0.8456 GB, free: 10.82 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006464/0.4035, allocations: 0.996 MB / 0.8466 GB, free: 9.793 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003511/0.4039, allocations: 105.1 kB / 0.8467 GB, free: 9.691 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.4042, allocations: 235.2 kB / 0.8469 GB, free: 9.461 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/0.4042, allocations: 0 / 0.8469 GB, free: 9.461 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04373/0.4479, allocations: 15.33 MB / 0.8619 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.496/9.944, allocations: 13.14 kB / 0.8619 GB, free: 10.41 MB / 0.6856 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/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)