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.005085/0.005085, allocations: 100.4 kB / 15.87 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 198.6 kB / 16.79 MB, free: 6.242 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.217/1.217, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6312/0.6312, allocations: 115.3 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.22 kB / 493 MB, free: 6.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1251, allocations: 76.18 MB / 0.5558 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005626/0.1307, allocations: 4.369 MB / 0.5601 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.1335, allocations: 1.866 MB / 0.5619 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.1338, allocations: 8 kB / 0.5619 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.1352, allocations: 0.5637 MB / 0.5625 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005591/0.1357, allocations: 246.9 kB / 0.5627 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.1363, allocations: 227.5 kB / 0.5629 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.1369, allocations: 0.8335 MB / 0.5638 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.1373, allocations: 307.2 kB / 0.5641 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.1375, allocations: 215.2 kB / 0.5643 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.1379, allocations: 283 kB / 0.5645 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.138, allocations: 27.98 kB / 0.5646 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.1384, allocations: 315.3 kB / 0.5649 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1385, allocations: 131.6 kB / 0.565 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.1387, allocations: 210.9 kB / 0.5652 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.1393, allocations: 0.6074 MB / 0.5658 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1393, allocations: 0 / 0.5658 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1393, allocations: 0 / 0.5658 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1393, allocations: 0 / 0.5658 GB, free: 0.4922 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.001096/0.1404, allocations: 0.7253 MB / 0.5665 GB, free: 15.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1405, allocations: 8.031 kB / 0.5665 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.534e-05/0.1405, allocations: 70.72 kB / 0.5666 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009065/0.1415, allocations: 160.2 kB / 0.5667 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.1418, allocations: 330.5 kB / 0.567 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1419, allocations: 25.31 kB / 0.5671 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.1419, allocations: 40.36 kB / 0.5671 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.1426, allocations: 0.5355 MB / 0.5676 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1426, allocations: 0 / 0.5676 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.1427, allocations: 12 kB / 0.5676 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.1427, allocations: 32.64 kB / 0.5677 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.1433, allocations: 386.3 kB / 0.568 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.1455, allocations: 2.411 MB / 0.5704 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.146, allocations: 262.5 kB / 0.5706 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.1462, allocations: 108.8 kB / 0.5707 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1462, allocations: 4 kB / 0.5707 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.1462, allocations: 30.56 kB / 0.5708 GB, free: 11.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.1462, allocations: 4 kB / 0.5708 GB, free: 11 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001946/0.1482, allocations: 1.13 MB / 0.5719 GB, free: 9.777 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.1482, allocations: 51.41 kB / 0.5719 GB, free: 9.715 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.1485, allocations: 300.5 kB / 0.5722 GB, free: 9.414 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1485, allocations: 33.7 kB / 0.5722 GB, free: 9.375 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1486, allocations: 227.6 kB / 0.5725 GB, free: 9.148 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.1487, allocations: 90.73 kB / 0.5725 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/0.1488, allocations: 58.03 kB / 0.5726 GB, free: 8.996 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1489, allocations: 338.8 kB / 0.5729 GB, free: 8.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1491, allocations: 112.6 kB / 0.573 GB, free: 8.547 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.1493, allocations: 188.4 kB / 0.5732 GB, free: 8.324 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.1496, allocations: 314 kB / 0.5735 GB, free: 7.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1496, allocations: 4 kB / 0.5735 GB, free: 7.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006618/0.1503, allocations: 438.4 kB / 0.5739 GB, free: 7.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1503, allocations: 12.33 kB / 0.5739 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1503, allocations: 4 kB / 0.5739 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000325/0.1507, allocations: 90.5 kB / 0.574 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.1509, allocations: 67.91 kB / 0.5741 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.1536, allocations: 4.076 MB / 0.5781 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.1538, allocations: 12 kB / 0.5781 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.1538, allocations: 8 kB / 0.5781 GB, free: 2.859 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.154, allocations: 185.8 kB / 0.5783 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.154, allocations: 31.62 kB / 0.5783 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.1541, allocations: 42.31 kB / 0.5783 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1541, allocations: 4 kB / 0.5783 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1541, allocations: 0 / 0.5783 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1541, allocations: 0 / 0.5783 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.1545, allocations: 405.3 kB / 0.5787 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1545, allocations: 0 / 0.5787 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.1547, allocations: 35.97 kB / 0.5788 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002791/0.155, allocations: 94.44 kB / 0.5789 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.155, allocations: 8 kB / 0.5789 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2015/0.3566, allocations: 4.053 MB / 0.5828 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3566, allocations: 0.6094 kB / 0.5828 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007913/0.3574, allocations: 0.5641 MB / 0.5834 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.3575, allocations: 124.8 kB / 0.5835 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.3576, allocations: 6.75 kB / 0.5835 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3578, allocations: 8.578 kB / 0.5835 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3579, allocations: 18.08 kB / 0.5835 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3579, allocations: 8.953 kB / 0.5835 GB, free: 29.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.3581, allocations: 214.8 kB / 0.5837 GB, free: 29.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3581, allocations: 0 / 0.5837 GB, free: 29.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004717/0.3586, allocations: 94.8 kB / 0.5838 GB, free: 29.43 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009111/0.3595, allocations: 1.105 MB / 0.5849 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007228/0.3602, allocations: 0.6105 MB / 0.5855 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3602, allocations: 1.281 kB / 0.5855 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.3606, allocations: 468.1 kB / 0.586 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.3611, allocations: 75.08 kB / 0.586 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.3649, allocations: 3.542 MB / 0.5895 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3652, allocations: 0.8297 MB / 0.5903 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000222/0.3654, allocations: 58.22 kB / 0.5903 GB, free: 25.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.3656, allocations: 109.6 kB / 0.5905 GB, free: 25.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3656, allocations: 4 kB / 0.5905 GB, free: 25.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.3851, allocations: 7.371 MB / 0.5977 GB, free: 24.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.3853, allocations: 213.9 kB / 0.5979 GB, free: 24.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.085, allocations: 4 kB / 0.5979 GB, free: 24.22 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/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)