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_RL.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_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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 2.657/2.657, allocations: 287.3 MB / 302.3 MB, free: 8.227 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.001516/0.001516, allocations: 189.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.251/2.251, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001144/0.001144, allocations: 100.5 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007579/0.0007581, allocations: 12.14 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2937, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007069/0.3008, allocations: 4.634 MB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005216/0.3061, allocations: 2.473 MB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005971/0.3068, allocations: 23.81 kB / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.3071, allocations: 87.38 kB / 0.9853 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.3084, allocations: 327 kB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.3097, allocations: 297.3 kB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.311, allocations: 0.5708 MB / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.3127, allocations: 0.7418 MB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006212/0.3133, allocations: 286.9 kB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005552/0.3139, allocations: 306.8 kB / 0.9878 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.692e-05/0.314, allocations: 28 kB / 0.9878 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005562/0.3146, allocations: 151.8 kB / 0.988 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.3148, allocations: 203.4 kB / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.315, allocations: 145.3 kB / 0.9883 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3161, allocations: 0.6898 MB / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3161, allocations: 0 / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3161, allocations: 0 / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.854e-05/0.3162, allocations: 0 / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001899/0.3181, allocations: 0.845 MB / 0.9898 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3181, allocations: 12.02 kB / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.3183, allocations: 106.4 kB / 0.9899 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.32, allocations: 179 kB / 0.9901 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009884/0.321, allocations: 473.6 kB / 0.9905 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.3211, allocations: 36.98 kB / 0.9906 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.3213, allocations: 55.92 kB / 0.9906 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.3228, allocations: 0.8213 MB / 0.9914 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.3229, allocations: 7.938 kB / 0.9914 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.323, allocations: 23.98 kB / 0.9914 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000292/0.3233, allocations: 64.95 kB / 0.9915 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.3246, allocations: 0.5658 MB / 0.9921 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005577/0.3302, allocations: 4.593 MB / 0.9965 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/0.3309, allocations: 293 kB / 0.9968 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.331, allocations: 8.281 kB / 0.9968 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.331, allocations: 38.84 kB / 0.9969 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.916e-06/0.331, allocations: 0 / 0.9969 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.008419/0.3394, allocations: 2.631 MB / 0.9994 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.3395, allocations: 55.41 kB / 0.9995 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/0.3402, allocations: 454 kB / 0.9999 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-05/0.3403, allocations: 33.7 kB / 1 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.3405, allocations: 331.7 kB / 1 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.3406, allocations: 149.9 kB / 1 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.3407, allocations: 12 kB / 1 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3408, allocations: 362.8 kB / 1.001 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005748/0.3414, allocations: 233 kB / 1.001 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009855/0.3424, allocations: 405 kB / 1.001 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/0.3434, allocations: 293.7 kB / 1.002 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.3434, allocations: 7.938 kB / 1.002 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002693/0.3461, allocations: 0.9173 MB / 1.003 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3462, allocations: 11.94 kB / 1.003 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3462, allocations: 4 kB / 1.003 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.3475, allocations: 222.9 kB / 1.003 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009488/0.3485, allocations: 119.8 kB / 1.003 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00732/0.3559, allocations: 5.017 MB / 1.008 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/0.3567, allocations: 27.97 kB / 1.008 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.3568, allocations: 28 kB / 1.008 GB, free: 12.75 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004719/0.3573, allocations: 225.6 kB / 1.008 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.3575, allocations: 55.34 kB / 1.008 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.36, allocations: 0.7665 MB / 1.009 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3601, allocations: 8 kB / 1.009 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3601, allocations: 4 kB / 1.009 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.3601, allocations: 0 / 1.009 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004341/0.3645, allocations: 1.498 MB / 1.01 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3645, allocations: 0 / 1.01 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.3653, allocations: 71.88 kB / 1.01 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.3665, allocations: 202.6 kB / 1.011 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.3666, allocations: 12 kB / 1.011 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007736/0.3743, allocations: 4.947 MB / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.3744, allocations: 8.344 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/0.3776, allocations: 1.205 MB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/0.3781, allocations: 172.3 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.3783, allocations: 16 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/0.3788, allocations: 31.98 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.379, allocations: 39.83 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.3791, allocations: 16 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005424/0.3796, allocations: 306.9 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3796, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001121/0.3808, allocations: 164 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003941/0.3847, allocations: 2.252 MB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002772/0.3876, allocations: 1.004 MB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.3876, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.3893, allocations: 0.6721 MB / 1.021 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.3907, allocations: 165.8 kB / 1.021 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/0.409, allocations: 7.277 MB / 1.028 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.4103, allocations: 0.9611 MB / 1.029 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001084/0.4114, allocations: 113 kB / 1.029 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006254/0.4121, allocations: 207.4 kB / 1.03 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/0.4121, allocations: 0 / 1.03 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06618/0.4783, allocations: 13.2 MB / 1.043 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/0.4787, allocations: 216.5 kB / 1.043 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/3.265, allocations: 0 / 1.043 GB, free: 8.223 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)