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.001249/0.001249, allocations: 100.6 kB / 16.27 MB, free: 5.977 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.00131/0.00131, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.75/0.75, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3853, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.009432/0.3948, allocations: 6.262 MB / 0.5734 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006816/0.4017, allocations: 4.542 MB / 0.5778 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006348/0.4023, allocations: 23.94 kB / 0.5779 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.4046, allocations: 0.9109 MB / 0.5787 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.4067, allocations: 0.7727 MB / 0.5795 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008188/0.4076, allocations: 331.2 kB / 0.5798 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.4089, allocations: 1.126 MB / 0.5809 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009013/0.4098, allocations: 0.6923 MB / 0.5816 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.4105, allocations: 474.5 kB / 0.582 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008299/0.4114, allocations: 499.4 kB / 0.5825 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.4115, allocations: 70.22 kB / 0.5826 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006943/0.4122, allocations: 277.2 kB / 0.5829 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.4125, allocations: 249 kB / 0.5831 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.4129, allocations: 413.7 kB / 0.5835 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009949/0.4139, allocations: 1.061 MB / 0.5845 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4139, allocations: 0.7812 kB / 0.5845 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4139, allocations: 1.594 kB / 0.5845 GB, free: 21.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.4139, allocations: 0.5 kB / 0.5845 GB, free: 21.71 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.001623/0.4155, allocations: 1.094 MB / 0.5856 GB, free: 20.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4156, allocations: 11.31 kB / 0.5856 GB, free: 20.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.4157, allocations: 101.4 kB / 0.5857 GB, free: 20.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/0.4187, allocations: 0.6321 MB / 0.5863 GB, free: 20.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/0.4195, allocations: 0.5378 MB / 0.5868 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.4195, allocations: 43.14 kB / 0.5869 GB, free: 20.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.4196, allocations: 54.03 kB / 0.5869 GB, free: 20 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.4214, allocations: 1.019 MB / 0.5879 GB, free: 19.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4214, allocations: 1.25 kB / 0.5879 GB, free: 19.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/0.4215, allocations: 25.95 kB / 0.588 GB, free: 19.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/0.4216, allocations: 48.72 kB / 0.588 GB, free: 19.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.4238, allocations: 1.003 MB / 0.589 GB, free: 18.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.427, allocations: 3.493 MB / 0.5924 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.4284, allocations: 0.4894 MB / 0.5929 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/0.429, allocations: 231.4 kB / 0.5931 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.429, allocations: 5.797 kB / 0.5931 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.4291, allocations: 38.06 kB / 0.5931 GB, free: 15.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.4291, allocations: 0 / 0.5931 GB, free: 15.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.006325/0.4354, allocations: 2.02 MB / 0.5951 GB, free: 13.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.4354, allocations: 55.41 kB / 0.5952 GB, free: 13.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.4359, allocations: 0.5627 MB / 0.5957 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.436, allocations: 37.7 kB / 0.5957 GB, free: 13.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.4361, allocations: 360.1 kB / 0.5961 GB, free: 12.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.4362, allocations: 149.8 kB / 0.5962 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.4364, allocations: 90.19 kB / 0.5963 GB, free: 12.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.4365, allocations: 378.7 kB / 0.5967 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/0.4371, allocations: 262.8 kB / 0.5969 GB, free: 11.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/0.4377, allocations: 365.8 kB / 0.5973 GB, free: 11.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.4388, allocations: 0.6264 MB / 0.5979 GB, free: 10.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4388, allocations: 0 / 0.5979 GB, free: 10.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002008/0.4408, allocations: 0.9348 MB / 0.5988 GB, free: 9.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4409, allocations: 8 kB / 0.5988 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4409, allocations: 0 / 0.5988 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009704/0.4419, allocations: 281.2 kB / 0.5991 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.4424, allocations: 115.8 kB / 0.5992 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005105/0.4475, allocations: 9.121 MB / 0.6081 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/0.4482, allocations: 48.02 kB / 0.6081 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.4482, allocations: 15.94 kB / 0.6082 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009045/0.4491, allocations: 433.9 kB / 0.6086 GB, free: 15.01 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006791/0.4498, allocations: 361.4 kB / 0.6089 GB, free: 14.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00133/0.4512, allocations: 0.609 MB / 0.6095 GB, free: 13.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.4512, allocations: 3.938 kB / 0.6095 GB, free: 13.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002311/0.4535, allocations: 1.113 MB / 0.6106 GB, free: 12.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4535, allocations: 15.92 kB / 0.6106 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4535, allocations: 8.328 kB / 0.6106 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007458/0.4543, allocations: 225 kB / 0.6108 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.4549, allocations: 127.8 kB / 0.611 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006259/0.4611, allocations: 8.784 MB / 0.6195 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.4618, allocations: 43.95 kB / 0.6196 GB, free: 2.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.4618, allocations: 19.98 kB / 0.6196 GB, free: 2.688 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.0002043/0.462, allocations: 212.1 kB / 0.6198 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.4622, allocations: 71.3 kB / 0.6199 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.4623, allocations: 82.36 kB / 0.6199 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4623, allocations: 4 kB / 0.62 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.4624, allocations: 0 / 0.62 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4624, allocations: 7.984 kB / 0.62 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009172/0.4633, allocations: 0.6494 MB / 0.6206 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.4633, allocations: 0 / 0.6206 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.4638, allocations: 91.84 kB / 0.6207 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009059/0.4647, allocations: 256.9 kB / 0.6209 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.4648, allocations: 8 kB / 0.6209 GB, free: 1.246 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006472/0.4712, allocations: 9.066 MB / 0.6298 GB, free: 7.336 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4713, allocations: 0 / 0.6298 GB, free: 7.336 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.4734, allocations: 0.9131 MB / 0.6307 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.4736, allocations: 180.2 kB / 0.6309 GB, free: 6.191 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.871e-05/0.4737, allocations: 12 kB / 0.6309 GB, free: 6.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.4742, allocations: 39.95 kB / 0.6309 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4744, allocations: 43.89 kB / 0.6309 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.4744, allocations: 12 kB / 0.631 GB, free: 6.086 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004369/0.4748, allocations: 407.1 kB / 0.6313 GB, free: 5.691 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4748, allocations: 0 / 0.6313 GB, free: 5.691 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001054/0.4759, allocations: 296 kB / 0.6316 GB, free: 5.402 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.002461/0.4784, allocations: 1.47 MB / 0.6331 GB, free: 3.887 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003837/0.4822, allocations: 2.415 MB / 0.6354 GB, free: 1.316 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4822, allocations: 0 / 0.6354 GB, free: 1.316 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.4836, allocations: 1.008 MB / 0.6364 GB, free: 236 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.4846, allocations: 220.8 kB / 0.6366 GB, free: 24 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.4965, allocations: 6.409 MB / 0.6429 GB, free: 9.422 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008399/0.4974, allocations: 0.9821 MB / 0.6438 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000682/0.4981, allocations: 149.4 kB / 0.644 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/0.4984, allocations: 235.3 kB / 0.6442 GB, free: 8.035 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4985, allocations: 0 / 0.6442 GB, free: 8.035 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05867/0.5571, allocations: 19.53 MB / 0.6633 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.29, allocations: 5.703 kB / 0.6633 GB, free: 4.805 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)