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.0007118/0.0007119, allocations: 93.19 kB / 16.02 MB, free: 84 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.0008695/0.0008694, allocations: 183.3 kB / 16.92 MB, free: 6.934 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.28/1.28, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6674/0.6675, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.000308, allocations: 8 kB / 495.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1299, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.004452/0.1344, allocations: 3.978 MB / 0.5639 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.1372, allocations: 1.827 MB / 0.5657 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.1375, allocations: 7.938 kB / 0.5657 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.1378, allocations: 79.41 kB / 0.5658 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006588/0.1384, allocations: 246.9 kB / 0.566 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006534/0.1391, allocations: 234.8 kB / 0.5663 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008729/0.14, allocations: 0.8413 MB / 0.5671 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005153/0.1405, allocations: 439.7 kB / 0.5675 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.1408, allocations: 195.2 kB / 0.5677 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004906/0.1413, allocations: 255 kB / 0.5679 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.1414, allocations: 24 kB / 0.5679 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.1419, allocations: 311.3 kB / 0.5682 GB, free: 480 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1421, allocations: 131.5 kB / 0.5684 GB, free: 348 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.1423, allocations: 216.7 kB / 0.5686 GB, free: 124 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.143, allocations: 0.5995 MB / 0.5692 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.143, allocations: 4 kB / 0.5692 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.143, allocations: 0 / 0.5692 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.1431, allocations: 0 / 0.5692 GB, free: 15.52 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001102/0.1442, allocations: 0.659 MB / 0.5698 GB, free: 14.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1442, allocations: 8.031 kB / 0.5698 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.1443, allocations: 82.7 kB / 0.5699 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009648/0.1453, allocations: 152.2 kB / 0.57 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.1457, allocations: 330.5 kB / 0.5704 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.1458, allocations: 21.38 kB / 0.5704 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.1459, allocations: 36.36 kB / 0.5704 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/0.1466, allocations: 0.5355 MB / 0.5709 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1466, allocations: 0 / 0.5709 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.1467, allocations: 16 kB / 0.5709 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.1467, allocations: 32.64 kB / 0.571 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.1473, allocations: 386.3 kB / 0.5713 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.1496, allocations: 2.419 MB / 0.5737 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.1501, allocations: 258.5 kB / 0.574 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1503, allocations: 112.8 kB / 0.5741 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.1503, allocations: 4 kB / 0.5741 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1503, allocations: 38.56 kB / 0.5741 GB, free: 10.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.1503, allocations: 0 / 0.5741 GB, free: 10.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001998/0.1523, allocations: 1.131 MB / 0.5752 GB, free: 8.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1524, allocations: 55.41 kB / 0.5753 GB, free: 8.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.1527, allocations: 304.4 kB / 0.5756 GB, free: 8.484 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1527, allocations: 29.7 kB / 0.5756 GB, free: 8.449 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1529, allocations: 227.5 kB / 0.5758 GB, free: 8.223 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.1529, allocations: 86.83 kB / 0.5759 GB, free: 8.137 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.153, allocations: 33.7 kB / 0.5759 GB, free: 8.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1531, allocations: 338.8 kB / 0.5762 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1533, allocations: 108.5 kB / 0.5763 GB, free: 7.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.1535, allocations: 188.4 kB / 0.5765 GB, free: 7.426 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.1539, allocations: 318 kB / 0.5768 GB, free: 7.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1539, allocations: 0 / 0.5768 GB, free: 7.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007422/0.1546, allocations: 442.7 kB / 0.5772 GB, free: 6.637 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.1547, allocations: 7.938 kB / 0.5773 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1547, allocations: 4 kB / 0.5773 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/0.155, allocations: 98.62 kB / 0.5773 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.1553, allocations: 63.91 kB / 0.5774 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.1583, allocations: 4.068 MB / 0.5814 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.1585, allocations: 24.14 kB / 0.5814 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1585, allocations: 8 kB / 0.5814 GB, free: 1.953 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.0001827/0.1587, allocations: 185.7 kB / 0.5816 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.1588, allocations: 27.72 kB / 0.5816 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.656e-05/0.1589, allocations: 42.31 kB / 0.5817 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1589, allocations: 0 / 0.5817 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.1589, allocations: 4 kB / 0.5817 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1589, allocations: 4 kB / 0.5817 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.1593, allocations: 397.3 kB / 0.582 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1593, allocations: 96 / 0.582 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.1595, allocations: 35.97 kB / 0.5821 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002757/0.1598, allocations: 102.4 kB / 0.5822 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.1598, allocations: 4 kB / 0.5822 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2189/0.3787, allocations: 4.065 MB / 0.5861 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3788, allocations: 0 / 0.5861 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/0.3796, allocations: 0.5554 MB / 0.5867 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3798, allocations: 124.3 kB / 0.5868 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.3798, allocations: 7.047 kB / 0.5868 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.38, allocations: 11.83 kB / 0.5868 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.3801, allocations: 20.09 kB / 0.5868 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3801, allocations: 8.719 kB / 0.5869 GB, free: 26.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.3803, allocations: 208.7 kB / 0.5871 GB, free: 26.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3803, allocations: 1.531 kB / 0.5871 GB, free: 26.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004894/0.3808, allocations: 95.59 kB / 0.5871 GB, free: 26.88 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.000934/0.3818, allocations: 1.104 MB / 0.5882 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008003/0.3826, allocations: 0.61 MB / 0.5888 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.3826, allocations: 4.719 kB / 0.5888 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.383, allocations: 472.2 kB / 0.5893 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.3835, allocations: 75.67 kB / 0.5893 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.3876, allocations: 3.559 MB / 0.5928 GB, free: 23.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3879, allocations: 0.8346 MB / 0.5936 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000227/0.3881, allocations: 62.02 kB / 0.5937 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3883, allocations: 109.1 kB / 0.5938 GB, free: 22.81 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3883, allocations: 0 / 0.5938 GB, free: 22.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.582/1.97, allocations: 7.252 MB / 0.6009 GB, free: 22.32 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/1.971, allocations: 220 kB / 0.6011 GB, free: 22.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/3.721, allocations: 4 kB / 0.6011 GB, free: 22.06 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)