Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.0009878/0.0009878, allocations: 100.1 kB / 15.88 MB, free: 12 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.001149/0.001149, allocations: 206.8 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6169/0.6169, allocations: 115.3 MB / 405.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 59.2 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1166, allocations: 76.2 MB / 0.5559 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007191/0.1238, allocations: 6.712 MB / 0.5624 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003917/0.1278, allocations: 3.044 MB / 0.5654 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.128, allocations: 23.88 kB / 0.5654 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.1299, allocations: 0.8906 MB / 0.5663 GB, free: 0 / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.1307, allocations: 481.7 kB / 0.5667 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000703/0.1314, allocations: 377.6 kB / 0.5671 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.1326, allocations: 1.591 MB / 0.5687 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007875/0.1334, allocations: 0.6444 MB / 0.5693 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.1338, allocations: 422.3 kB / 0.5697 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005022/0.1343, allocations: 0.5215 MB / 0.5702 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.06e-05/0.1344, allocations: 48 kB / 0.5702 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005866/0.135, allocations: 459.1 kB / 0.5707 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.1352, allocations: 291.1 kB / 0.571 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.1356, allocations: 417.8 kB / 0.5714 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.1365, allocations: 1.211 MB / 0.5725 GB, free: 9.574 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1366, allocations: 0 / 0.5725 GB, free: 9.574 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1366, allocations: 0 / 0.5725 GB, free: 9.574 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1366, allocations: 0 / 0.5725 GB, free: 9.574 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001622/0.1382, allocations: 1.161 MB / 0.5737 GB, free: 8.359 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1382, allocations: 8.031 kB / 0.5737 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.1384, allocations: 122.7 kB / 0.5738 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.1398, allocations: 239.5 kB / 0.574 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/0.1404, allocations: 0.5453 MB / 0.5746 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.1405, allocations: 41.69 kB / 0.5746 GB, free: 7.367 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/0.1406, allocations: 68.36 kB / 0.5747 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.1419, allocations: 1.093 MB / 0.5757 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1419, allocations: 7.938 kB / 0.5757 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.142, allocations: 27.98 kB / 0.5758 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.1421, allocations: 85.25 kB / 0.5758 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1431, allocations: 0.7542 MB / 0.5766 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2071/0.3503, allocations: 5.886 MB / 0.5823 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008778/0.3512, allocations: 0.5552 MB / 0.5829 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.3516, allocations: 332.2 kB / 0.5832 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.3516, allocations: 5 kB / 0.5832 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.3517, allocations: 39.56 kB / 0.5832 GB, free: 29.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.275e-06/0.3517, allocations: 0.6562 kB / 0.5832 GB, free: 29.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003352/0.355, allocations: 1.989 MB / 0.5852 GB, free: 28.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.3551, allocations: 57.66 kB / 0.5852 GB, free: 28.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.3556, allocations: 0.5504 MB / 0.5858 GB, free: 28.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.3556, allocations: 35.86 kB / 0.5858 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.3558, allocations: 414.7 kB / 0.5862 GB, free: 28.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.236e-05/0.3559, allocations: 175.1 kB / 0.5864 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.3561, allocations: 128.4 kB / 0.5865 GB, free: 27.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.3562, allocations: 369.7 kB / 0.5868 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.3566, allocations: 275.8 kB / 0.5871 GB, free: 27.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.357, allocations: 0.4911 MB / 0.5876 GB, free: 27.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008539/0.3579, allocations: 0.8163 MB / 0.5884 GB, free: 26.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3579, allocations: 2.156 kB / 0.5884 GB, free: 26.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001586/0.3595, allocations: 1.085 MB / 0.5894 GB, free: 26.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3595, allocations: 9.781 kB / 0.5895 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3596, allocations: 7.719 kB / 0.5895 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000777/0.3603, allocations: 273.5 kB / 0.5897 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.3608, allocations: 129.9 kB / 0.5898 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/0.3654, allocations: 6.593 MB / 0.5963 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.3659, allocations: 43.89 kB / 0.5963 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.366, allocations: 28.61 kB / 0.5964 GB, free: 20.21 MB / 446.1 MB 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002582/0.3662, allocations: 246.6 kB / 0.5966 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.3663, allocations: 71.69 kB / 0.5967 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.3677, allocations: 0.8889 MB / 0.5975 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3678, allocations: 4.281 kB / 0.5975 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3678, allocations: 3.625 kB / 0.5975 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3678, allocations: 9.828 kB / 0.5975 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.3701, allocations: 1.725 MB / 0.5992 GB, free: 18.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3702, allocations: 1.906 kB / 0.5992 GB, free: 18.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.3704, allocations: 68.09 kB / 0.5993 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007074/0.3711, allocations: 262.5 kB / 0.5995 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.3712, allocations: 15.88 kB / 0.5996 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004527/0.3757, allocations: 6.595 MB / 0.606 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3757, allocations: 3.062 kB / 0.606 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.377, allocations: 0.9751 MB / 0.607 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.3773, allocations: 189.3 kB / 0.6071 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.03e-05/0.3773, allocations: 17.3 kB / 0.6071 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.3777, allocations: 32.23 kB / 0.6072 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3778, allocations: 46.2 kB / 0.6072 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.3778, allocations: 15.19 kB / 0.6072 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003684/0.3782, allocations: 384.5 kB / 0.6076 GB, free: 12.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3782, allocations: 1.594 kB / 0.6076 GB, free: 12.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007498/0.379, allocations: 219.8 kB / 0.6078 GB, free: 11.99 MB / 446.1 MB 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00142/0.3804, allocations: 1.545 MB / 0.6093 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.382, allocations: 1.267 MB / 0.6106 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.382, allocations: 5.156 kB / 0.6106 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009864/0.383, allocations: 0.8936 MB / 0.6114 GB, free: 9.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.3839, allocations: 202.4 kB / 0.6116 GB, free: 9.512 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007183/0.3911, allocations: 6.796 MB / 0.6183 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.3915, allocations: 1.008 MB / 0.6193 GB, free: 4.617 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004107/0.3919, allocations: 124.2 kB / 0.6194 GB, free: 4.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.3922, allocations: 248.4 kB / 0.6196 GB, free: 4.398 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3922, allocations: 0 / 0.6196 GB, free: 4.398 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.4184, allocations: 16.57 MB / 0.6358 GB, free: 8.332 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.4186, allocations: 225.3 kB / 0.636 GB, free: 8.078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.379, allocations: 0 / 0.636 GB, free: 8.078 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)