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.001202/0.001202, allocations: 102.8 kB / 16.27 MB, free: 5.914 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.001163/0.001163, allocations: 188.4 kB / 17.19 MB, free: 5.562 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.272/1.272, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7163/0.7163, allocations: 122.9 MB / 413.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.89 kB / 0.4912 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2949, allocations: 77.92 MB / 0.5673 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005188/0.3001, allocations: 4.339 MB / 0.5715 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.3024, allocations: 1.856 MB / 0.5733 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.3026, allocations: 8.75 kB / 0.5733 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.304, allocations: 0.5975 MB / 0.5739 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004673/0.3045, allocations: 259.9 kB / 0.5742 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/0.305, allocations: 251.4 kB / 0.5744 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005192/0.3056, allocations: 0.6118 MB / 0.575 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005923/0.3062, allocations: 477 kB / 0.5755 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.3064, allocations: 246.8 kB / 0.5757 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.3068, allocations: 270.6 kB / 0.576 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.41e-05/0.3068, allocations: 37.75 kB / 0.576 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.3073, allocations: 248.9 kB / 0.5762 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.3074, allocations: 157.9 kB / 0.5764 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.3076, allocations: 211.9 kB / 0.5766 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.3082, allocations: 0.6036 MB / 0.5772 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3082, allocations: 0.6094 kB / 0.5772 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3082, allocations: 0 / 0.5772 GB, free: 26.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3082, allocations: 1.469 kB / 0.5772 GB, free: 26.98 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.0009901/0.3092, allocations: 0.7309 MB / 0.5779 GB, free: 26.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.3093, allocations: 10.72 kB / 0.5779 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.919e-05/0.3094, allocations: 78.98 kB / 0.578 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009185/0.3103, allocations: 145.4 kB / 0.5781 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.3106, allocations: 324.6 kB / 0.5784 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3106, allocations: 24.25 kB / 0.5784 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.3107, allocations: 41.58 kB / 0.5785 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.3114, allocations: 0.5313 MB / 0.579 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3114, allocations: 0 / 0.579 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.3115, allocations: 17.12 kB / 0.579 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.3115, allocations: 34.75 kB / 0.5791 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/0.3121, allocations: 385.9 kB / 0.5794 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.314, allocations: 2.407 MB / 0.5818 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.3144, allocations: 265.5 kB / 0.582 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.3146, allocations: 108.8 kB / 0.5821 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.3146, allocations: 6.281 kB / 0.5821 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.3146, allocations: 35.72 kB / 0.5822 GB, free: 23.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 2.344e-06/0.3146, allocations: 1.188 kB / 0.5822 GB, free: 23.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001814/0.3165, allocations: 1.131 MB / 0.5833 GB, free: 22.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.3165, allocations: 55.03 kB / 0.5833 GB, free: 22.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.3167, allocations: 299.9 kB / 0.5836 GB, free: 22.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3167, allocations: 27.08 kB / 0.5836 GB, free: 22.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.3168, allocations: 239.9 kB / 0.5839 GB, free: 21.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.3169, allocations: 76.69 kB / 0.5839 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.317, allocations: 66.81 kB / 0.584 GB, free: 21.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.317, allocations: 337.5 kB / 0.5843 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3172, allocations: 100.6 kB / 0.5844 GB, free: 21.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3173, allocations: 194.9 kB / 0.5846 GB, free: 21.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.3177, allocations: 308.4 kB / 0.5849 GB, free: 20.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3177, allocations: 1.156 kB / 0.5849 GB, free: 20.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006353/0.3183, allocations: 445.6 kB / 0.5853 GB, free: 20.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3183, allocations: 7.125 kB / 0.5853 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3184, allocations: 4.656 kB / 0.5853 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.3187, allocations: 99.86 kB / 0.5854 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.3189, allocations: 65.47 kB / 0.5855 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.321, allocations: 4.401 MB / 0.5898 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.3212, allocations: 11.91 kB / 0.5898 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.3213, allocations: 9.062 kB / 0.5898 GB, free: 16.19 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.0001418/0.3214, allocations: 185.2 kB / 0.59 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.3215, allocations: 38.22 kB / 0.59 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/0.3215, allocations: 37.84 kB / 0.5901 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3215, allocations: 2.594 kB / 0.5901 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3216, allocations: 1.156 kB / 0.5901 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3216, allocations: 1.406 kB / 0.5901 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.3219, allocations: 397.1 kB / 0.5904 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3219, allocations: 3.938 kB / 0.5904 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.3221, allocations: 34.86 kB / 0.5905 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.3224, allocations: 102.4 kB / 0.5906 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3224, allocations: 5.562 kB / 0.5906 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.3244, allocations: 4.391 MB / 0.5949 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3244, allocations: 3.938 kB / 0.5949 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.325, allocations: 0.5526 MB / 0.5954 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.3252, allocations: 125.4 kB / 0.5955 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.3252, allocations: 5.188 kB / 0.5955 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.3254, allocations: 10.59 kB / 0.5956 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.3254, allocations: 27.27 kB / 0.5956 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3255, allocations: 5.406 kB / 0.5956 GB, free: 10.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.3256, allocations: 217.3 kB / 0.5958 GB, free: 10.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3256, allocations: 0 / 0.5958 GB, free: 10.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.3261, allocations: 95.16 kB / 0.5959 GB, free: 10.41 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.0008146/0.3269, allocations: 1.103 MB / 0.597 GB, free: 9.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007094/0.3276, allocations: 0.6236 MB / 0.5976 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3276, allocations: 1.062 kB / 0.5976 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.328, allocations: 478.2 kB / 0.598 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.3285, allocations: 79.17 kB / 0.5981 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.3318, allocations: 3.395 MB / 0.6014 GB, free: 6.023 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.3321, allocations: 0.8352 MB / 0.6022 GB, free: 5.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.3323, allocations: 54.22 kB / 0.6023 GB, free: 5.227 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.3324, allocations: 110.3 kB / 0.6024 GB, free: 5.133 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3324, allocations: 1.062 kB / 0.6024 GB, free: 5.133 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/0.3705, allocations: 7.629 MB / 0.6098 GB, free: 13.74 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.793/9.163, allocations: 2.672 kB / 0.6098 GB, free: 13.74 MB / 462.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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)