Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.388/1.388, allocations: 287.4 MB / 302.6 MB, free: 8.352 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.0008944/0.0008943, allocations: 181.6 kB / 371.1 MB, free: 10.82 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.077/1.077, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0006255/0.0006255, allocations: 102.5 kB / 0.7431 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003264, allocations: 11.08 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006801/0.1445, allocations: 9.713 MB / 0.9882 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007625/0.1522, allocations: 8.248 MB / 0.9963 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.153, allocations: 51.62 kB / 0.9963 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.1535, allocations: 269.8 kB / 0.9966 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.1557, allocations: 1.265 MB / 0.9978 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008353/0.1565, allocations: 469 kB / 0.9983 GB, free: 8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.1579, allocations: 2.471 MB / 1.001 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.1599, allocations: 1.92 MB / 1.003 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.1605, allocations: 0.7858 MB / 1.003 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006691/0.1611, allocations: 0.9065 MB / 1.004 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1612, allocations: 60 kB / 1.004 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000578/0.1618, allocations: 463.4 kB / 1.005 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.1621, allocations: 478.4 kB / 1.005 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.1623, allocations: 344.7 kB / 1.005 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.1637, allocations: 1.96 MB / 1.007 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1637, allocations: 4 kB / 1.007 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1637, allocations: 0 / 1.007 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.1637, allocations: 0 / 1.007 GB, free: 14.56 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002233/0.166, allocations: 1.71 MB / 1.009 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.166, allocations: 16.03 kB / 1.009 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.1662, allocations: 194.1 kB / 1.009 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009545/0.1757, allocations: 2.105 MB / 1.011 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.1773, allocations: 1.119 MB / 1.012 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.1774, allocations: 90.69 kB / 1.013 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.1776, allocations: 115.8 kB / 1.013 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/0.1821, allocations: 2.499 MB / 1.015 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.1821, allocations: 11.94 kB / 1.015 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.1823, allocations: 51.98 kB / 1.015 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002877/0.1826, allocations: 134.1 kB / 1.015 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006171/0.1888, allocations: 2.58 MB / 1.018 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.1992, allocations: 10.11 MB / 1.028 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005341/0.2045, allocations: 1.999 MB / 1.03 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/0.2069, allocations: 0.9933 MB / 1.031 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.2069, allocations: 8.438 kB / 1.031 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.207, allocations: 39 kB / 1.031 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.134e-06/0.207, allocations: 0 / 1.031 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.02627/0.2333, allocations: 8.773 MB / 1.039 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.2333, allocations: 72 kB / 1.039 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.2345, allocations: 1.081 MB / 1.04 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.232e-05/0.2346, allocations: 41.7 kB / 1.04 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004501/0.235, allocations: 0.7379 MB / 1.041 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.2352, allocations: 291.9 kB / 1.041 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.2353, allocations: 16 kB / 1.041 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2354, allocations: 341.9 kB / 1.042 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.2381, allocations: 1.087 MB / 1.043 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/0.2408, allocations: 1.325 MB / 1.044 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005212/0.246, allocations: 2.425 MB / 1.046 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.246, allocations: 0 / 1.046 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007493/0.2535, allocations: 3.304 MB / 1.05 GB, free: 1.992 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2535, allocations: 8 kB / 1.05 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2536, allocations: 8 kB / 1.05 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/0.2559, allocations: 0.7874 MB / 1.05 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.2576, allocations: 431.2 kB / 1.051 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.2705, allocations: 14.68 MB / 1.065 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.2723, allocations: 303.6 kB / 1.065 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.982e-05/0.2724, allocations: 51.91 kB / 1.066 GB, free: 0.6406 MB / 0.6823 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005668/0.273, allocations: 406.7 kB / 1.066 GB, free: 240 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.2732, allocations: 146.2 kB / 1.066 GB, free: 92 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.286/0.5592, allocations: 3.235 MB / 1.069 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.5592, allocations: 8.688 kB / 1.069 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.5592, allocations: 7.344 kB / 1.069 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.5593, allocations: 9.016 kB / 1.069 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.5693, allocations: 4.931 MB / 1.074 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.5693, allocations: 3.062 kB / 1.074 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.5709, allocations: 367.2 kB / 1.074 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/0.573, allocations: 0.6976 MB / 1.075 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/0.5731, allocations: 33.33 kB / 1.075 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.5836, allocations: 14.31 MB / 1.089 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5836, allocations: 2.938 kB / 1.089 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007102/0.5907, allocations: 3.079 MB / 1.092 GB, free: 69.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/0.5912, allocations: 388.3 kB / 1.092 GB, free: 69.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.5914, allocations: 18.14 kB / 1.092 GB, free: 69.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.593, allocations: 306.5 kB / 1.093 GB, free: 69.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.5932, allocations: 87.84 kB / 1.093 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.503e-05/0.5933, allocations: 40.91 kB / 1.093 GB, free: 69.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008408/0.5941, allocations: 0.7246 MB / 1.094 GB, free: 69.31 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5942, allocations: 0 / 1.094 GB, free: 69.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001124/0.5953, allocations: 431.7 kB / 1.094 GB, free: 69.28 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007045/0.6023, allocations: 3.65 MB / 1.098 GB, free: 67.69 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006651/0.609, allocations: 3.659 MB / 1.101 GB, free: 66.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.609, allocations: 8.125 kB / 1.101 GB, free: 66.03 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003797/0.6128, allocations: 2.389 MB / 1.103 GB, free: 64.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.6148, allocations: 476.2 kB / 1.104 GB, free: 64.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.634, allocations: 11.98 MB / 1.116 GB, free: 57.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.6348, allocations: 1.387 MB / 1.117 GB, free: 56.78 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001316/0.6361, allocations: 378.7 kB / 1.117 GB, free: 56.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000613/0.6367, allocations: 0.591 MB / 1.118 GB, free: 56.07 MB / 0.6823 GB Notification: Performance of SimCode: time 3.3e-07/0.6367, allocations: 0 / 1.118 GB, free: 56.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3732/1.01, allocations: 40.29 MB / 1.157 GB, free: 22.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001208/1.01, allocations: 217.4 kB / 1.157 GB, free: 21.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.684, allocations: 7.875 kB / 1.157 GB, free: 21.86 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)