Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.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.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine",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.001385/0.001391, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001263/0.001263, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7718/0.7718, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.89 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3324, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.007038/0.3395, allocations: 6.264 MB / 0.5734 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005466/0.345, allocations: 4.545 MB / 0.5778 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004218/0.3455, allocations: 23.5 kB / 0.5779 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.3476, allocations: 0.9128 MB / 0.5787 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.3495, allocations: 0.7695 MB / 0.5795 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008821/0.3504, allocations: 321.9 kB / 0.5798 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.3518, allocations: 1.129 MB / 0.5809 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008263/0.3527, allocations: 0.6955 MB / 0.5816 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005378/0.3532, allocations: 471.2 kB / 0.582 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005907/0.3538, allocations: 0.4923 MB / 0.5825 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.3539, allocations: 69.94 kB / 0.5826 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005094/0.3545, allocations: 284.5 kB / 0.5829 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.3547, allocations: 250.6 kB / 0.5831 GB, free: 22.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.355, allocations: 404.7 kB / 0.5835 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009088/0.3559, allocations: 1.058 MB / 0.5845 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3559, allocations: 4.719 kB / 0.5845 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3559, allocations: 0 / 0.5845 GB, free: 21.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.356, allocations: 0.5625 kB / 0.5845 GB, free: 21.64 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001513/0.3575, allocations: 1.102 MB / 0.5856 GB, free: 20.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3575, allocations: 9.594 kB / 0.5856 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.3576, allocations: 101.7 kB / 0.5857 GB, free: 20.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/0.3607, allocations: 0.633 MB / 0.5863 GB, free: 20.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.3615, allocations: 0.5415 MB / 0.5868 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.3615, allocations: 38.38 kB / 0.5869 GB, free: 19.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/0.3616, allocations: 49.25 kB / 0.5869 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.3635, allocations: 1.02 MB / 0.5879 GB, free: 19.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3636, allocations: 0 / 0.5879 GB, free: 19.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.3637, allocations: 26.8 kB / 0.588 GB, free: 19.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/0.3637, allocations: 48.31 kB / 0.588 GB, free: 19.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.3659, allocations: 1.004 MB / 0.589 GB, free: 18.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.3693, allocations: 3.496 MB / 0.5924 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.3706, allocations: 495.7 kB / 0.5929 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.3711, allocations: 234.1 kB / 0.5931 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.3712, allocations: 8.906 kB / 0.5931 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3712, allocations: 32.03 kB / 0.5931 GB, free: 15.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.705e-06/0.3712, allocations: 0 / 0.5931 GB, free: 15.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.006213/0.3774, allocations: 2.025 MB / 0.5951 GB, free: 13.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.3774, allocations: 59.34 kB / 0.5952 GB, free: 13.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.3779, allocations: 0.5627 MB / 0.5957 GB, free: 13.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.378, allocations: 29.7 kB / 0.5957 GB, free: 13.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.3781, allocations: 360.1 kB / 0.5961 GB, free: 12.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.938e-05/0.3782, allocations: 153.8 kB / 0.5962 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.3783, allocations: 90.25 kB / 0.5963 GB, free: 12.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.3784, allocations: 378.7 kB / 0.5967 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.379, allocations: 258.8 kB / 0.5969 GB, free: 11.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.3796, allocations: 368.8 kB / 0.5973 GB, free: 11.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.3809, allocations: 0.6225 MB / 0.5979 GB, free: 10.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3809, allocations: 0 / 0.5979 GB, free: 10.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002075/0.3829, allocations: 0.9387 MB / 0.5988 GB, free: 9.898 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.383, allocations: 4 kB / 0.5988 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.383, allocations: 4.344 kB / 0.5988 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.384, allocations: 280.8 kB / 0.5991 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.3846, allocations: 115.8 kB / 0.5992 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004985/0.3896, allocations: 9.113 MB / 0.6081 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/0.3903, allocations: 44.02 kB / 0.6081 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.3903, allocations: 23.94 kB / 0.6082 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008734/0.3912, allocations: 433.7 kB / 0.6086 GB, free: 15.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000699/0.3919, allocations: 365.4 kB / 0.6089 GB, free: 14.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001337/0.3932, allocations: 0.6012 MB / 0.6095 GB, free: 14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.3933, allocations: 3.938 kB / 0.6095 GB, free: 14 MB / 462.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002356/0.3956, allocations: 1.121 MB / 0.6106 GB, free: 12.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3956, allocations: 12.28 kB / 0.6106 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3956, allocations: 4 kB / 0.6106 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000759/0.3964, allocations: 228.9 kB / 0.6108 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.397, allocations: 115.8 kB / 0.6109 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005853/0.4029, allocations: 8.795 MB / 0.6195 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.4035, allocations: 43.95 kB / 0.6196 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.4036, allocations: 24.06 kB / 0.6196 GB, free: 2.719 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.4038, allocations: 212.1 kB / 0.6198 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.4039, allocations: 67.16 kB / 0.6199 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.4041, allocations: 78.38 kB / 0.6199 GB, free: 2.363 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.4041, allocations: 4 kB / 0.6199 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4041, allocations: 0 / 0.6199 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4041, allocations: 4 kB / 0.6199 GB, free: 2.355 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007957/0.4049, allocations: 0.6534 MB / 0.6206 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4049, allocations: 0 / 0.6206 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.4054, allocations: 83.84 kB / 0.6207 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009277/0.4064, allocations: 268.9 kB / 0.6209 GB, free: 1.289 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.4064, allocations: 11.94 kB / 0.6209 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006447/0.4129, allocations: 9.054 MB / 0.6298 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4129, allocations: 192 / 0.6298 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.4151, allocations: 0.917 MB / 0.6307 GB, free: 6.426 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.4154, allocations: 188.2 kB / 0.6308 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/0.4155, allocations: 12 kB / 0.6309 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.416, allocations: 39.95 kB / 0.6309 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.4161, allocations: 43.89 kB / 0.6309 GB, free: 6.129 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.4161, allocations: 12 kB / 0.631 GB, free: 6.117 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000431/0.4166, allocations: 403 kB / 0.6313 GB, free: 5.727 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4166, allocations: 0 / 0.6313 GB, free: 5.727 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001021/0.4176, allocations: 308 kB / 0.6316 GB, free: 5.426 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002424/0.42, allocations: 1.459 MB / 0.6331 GB, free: 3.922 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003875/0.4239, allocations: 2.411 MB / 0.6354 GB, free: 1.355 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4239, allocations: 3.938 kB / 0.6354 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.4253, allocations: 1.008 MB / 0.6364 GB, free: 272 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.4264, allocations: 225.9 kB / 0.6366 GB, free: 64 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.4367, allocations: 6.401 MB / 0.6429 GB, free: 9.465 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.4373, allocations: 0.9859 MB / 0.6438 GB, free: 8.453 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005941/0.4379, allocations: 145.4 kB / 0.644 GB, free: 8.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.4382, allocations: 243.4 kB / 0.6442 GB, free: 8.07 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4382, allocations: 0 / 0.6442 GB, free: 8.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05231/0.4905, allocations: 19.52 MB / 0.6633 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.63, allocations: 13.45 kB / 0.6633 GB, free: 4.832 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)