Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",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.001122/0.001122, allocations: 88.17 kB / 15.7 MB, free: 460 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.001289/0.00129, allocations: 173.8 kB / 16.58 MB, free: 6.449 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.236/1.236, allocations: 223.3 MB / 240.6 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6139/0.6139, allocations: 113.7 MB / 405.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 12 kB / 493.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 77.11 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.004038/0.1345, allocations: 3.811 MB / 0.5606 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.1368, allocations: 1.738 MB / 0.5623 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.137, allocations: 4 kB / 0.5623 GB, free: 6.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.1372, allocations: 71.42 kB / 0.5624 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.1376, allocations: 206.9 kB / 0.5626 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.138, allocations: 191.6 kB / 0.5628 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006066/0.1387, allocations: 0.6814 MB / 0.5634 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/0.1391, allocations: 380.9 kB / 0.5638 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.1393, allocations: 203.2 kB / 0.564 GB, free: 4.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.1397, allocations: 247.1 kB / 0.5642 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.1397, allocations: 24 kB / 0.5642 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.14, allocations: 127.8 kB / 0.5644 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.1401, allocations: 119.7 kB / 0.5645 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.088e-05/0.1402, allocations: 97.52 kB / 0.5646 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.1406, allocations: 470.9 kB / 0.565 GB, free: 3.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1406, allocations: 0 / 0.565 GB, free: 3.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1406, allocations: 4 kB / 0.565 GB, free: 3.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1407, allocations: 0 / 0.565 GB, free: 3.254 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009439/0.1416, allocations: 0.6589 MB / 0.5657 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1416, allocations: 8.031 kB / 0.5657 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.439e-05/0.1417, allocations: 74.52 kB / 0.5658 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008546/0.1426, allocations: 155.3 kB / 0.5659 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.143, allocations: 321.4 kB / 0.5662 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.143, allocations: 24.98 kB / 0.5662 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.1431, allocations: 39.94 kB / 0.5663 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007272/0.1438, allocations: 0.5353 MB / 0.5668 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1438, allocations: 0 / 0.5668 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.1439, allocations: 19.92 kB / 0.5668 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.1439, allocations: 32.64 kB / 0.5668 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.1445, allocations: 386.3 kB / 0.5672 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.1467, allocations: 2.415 MB / 0.5696 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.1472, allocations: 258.5 kB / 0.5698 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.1474, allocations: 112.8 kB / 0.5699 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.1474, allocations: 4 kB / 0.5699 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1474, allocations: 34.56 kB / 0.57 GB, free: 13.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.1474, allocations: 0 / 0.57 GB, free: 13.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001937/0.1494, allocations: 1.125 MB / 0.5711 GB, free: 12.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.1494, allocations: 55.41 kB / 0.5711 GB, free: 12.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.1497, allocations: 296.5 kB / 0.5714 GB, free: 12.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1497, allocations: 29.7 kB / 0.5714 GB, free: 12.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1499, allocations: 231.5 kB / 0.5716 GB, free: 11.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.532e-05/0.15, allocations: 86.83 kB / 0.5717 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.15, allocations: 4 kB / 0.5717 GB, free: 11.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1501, allocations: 346.8 kB / 0.5721 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1503, allocations: 96.59 kB / 0.5722 GB, free: 11.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.1505, allocations: 192.4 kB / 0.5723 GB, free: 11.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.1507, allocations: 130.5 kB / 0.5725 GB, free: 11.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1507, allocations: 4 kB / 0.5725 GB, free: 11.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006751/0.1514, allocations: 439.8 kB / 0.5729 GB, free: 10.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1514, allocations: 10.03 kB / 0.5729 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1514, allocations: 4 kB / 0.5729 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.1517, allocations: 102.8 kB / 0.573 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.152, allocations: 63.89 kB / 0.5731 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.1552, allocations: 4.068 MB / 0.577 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.1554, allocations: 8 kB / 0.577 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.1554, allocations: 16 kB / 0.5771 GB, free: 5.969 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (34): * Single equations (assignments): 31 * 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 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000208/0.1556, allocations: 181.8 kB / 0.5772 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1557, allocations: 31.66 kB / 0.5773 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.071e-05/0.1558, allocations: 38.31 kB / 0.5773 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1558, allocations: 0 / 0.5773 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.1558, allocations: 7.984 kB / 0.5773 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1558, allocations: 3.938 kB / 0.5773 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.1562, allocations: 401.4 kB / 0.5777 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1563, allocations: 0 / 0.5777 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1564, allocations: 31.98 kB / 0.5777 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.1567, allocations: 94.5 kB / 0.5778 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1567, allocations: 0 / 0.5778 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/0.1596, allocations: 4.072 MB / 0.5818 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1596, allocations: 0 / 0.5818 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.1603, allocations: 0.5533 MB / 0.5823 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2347/0.395, allocations: 124.3 kB / 0.5824 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.3951, allocations: 4.781 kB / 0.5824 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.3953, allocations: 13.33 kB / 0.5825 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.3954, allocations: 16.91 kB / 0.5825 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.3955, allocations: 6.375 kB / 0.5825 GB, free: 32.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.3957, allocations: 209.4 kB / 0.5827 GB, free: 32.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3957, allocations: 0 / 0.5827 GB, free: 32.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005492/0.3963, allocations: 99.03 kB / 0.5828 GB, free: 32.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009483/0.3972, allocations: 1.097 MB / 0.5838 GB, free: 31.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000709/0.3979, allocations: 0.6112 MB / 0.5844 GB, free: 31.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.398, allocations: 0.75 kB / 0.5844 GB, free: 31.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.3983, allocations: 475.7 kB / 0.5849 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.3988, allocations: 68.56 kB / 0.585 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.4016, allocations: 2.061 MB / 0.587 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.402, allocations: 0.8343 MB / 0.5878 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.4022, allocations: 61.61 kB / 0.5878 GB, free: 29.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.4024, allocations: 114.4 kB / 0.588 GB, free: 29.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4024, allocations: 0 / 0.588 GB, free: 29.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.4228, allocations: 7.119 MB / 0.5949 GB, free: 28.95 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.423, allocations: 194.5 kB / 0.5951 GB, free: 28.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.126, allocations: 0 / 0.5951 GB, free: 28.71 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) Environment - environmentSimulation: