Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.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.DCLines,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLines",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.0009206/0.0009205, allocations: 97.2 kB / 15.69 MB, free: 480 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.001036/0.001036, allocations: 176.5 kB / 16.57 MB, free: 6.398 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.486/1.486, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6737/0.6737, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 8.688 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2025, allocations: 77.12 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLines): time 0.02071/0.2233, allocations: 19.14 MB / 0.5754 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3807/0.604, allocations: 16.04 MB / 0.5911 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005857/0.61, allocations: 99.03 kB / 0.5912 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003823/0.6138, allocations: 0.5434 MB / 0.5917 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.6271, allocations: 2.822 MB / 0.5945 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.6313, allocations: 0.9427 MB / 0.5954 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01176/0.6431, allocations: 3.334 MB / 0.5986 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006273/0.6494, allocations: 2.019 MB / 0.6006 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006214/0.6557, allocations: 1.713 MB / 0.6023 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006153/0.6619, allocations: 1.752 MB / 0.604 GB, free: 9.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00149/0.6634, allocations: 163.6 kB / 0.6042 GB, free: 9.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003588/0.667, allocations: 477 kB / 0.6046 GB, free: 9.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00175/0.6687, allocations: 0.8541 MB / 0.6054 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002628/0.6714, allocations: 0.6898 MB / 0.6061 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006835/0.6782, allocations: 3.794 MB / 0.6098 GB, free: 8.566 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6782, allocations: 0 / 0.6098 GB, free: 8.566 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6783, allocations: 0 / 0.6098 GB, free: 8.566 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001989/0.6785, allocations: 0 / 0.6098 GB, free: 8.566 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.009909/0.6884, allocations: 3.876 MB / 0.6136 GB, free: 6.168 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.6884, allocations: 9.375 kB / 0.6136 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001165/0.6896, allocations: 354.4 kB / 0.614 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/0.705, allocations: 3.398 MB / 0.6173 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005106/0.7101, allocations: 1.966 MB / 0.6192 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.7103, allocations: 184.5 kB / 0.6194 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004785/0.7108, allocations: 227.3 kB / 0.6196 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00906/0.7199, allocations: 4.706 MB / 0.6242 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.7199, allocations: 1.5 kB / 0.6242 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/0.7202, allocations: 106.4 kB / 0.6243 GB, free: 340 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/0.7204, allocations: 172.6 kB / 0.6244 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.7324, allocations: 5.23 MB / 0.6296 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01898/0.7514, allocations: 14.11 MB / 0.6433 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009848/0.7613, allocations: 3.848 MB / 0.6471 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.353e-05/0.7614, allocations: 32.08 kB / 0.6471 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003653/0.7651, allocations: 1.814 MB / 0.6489 GB, free: 8.465 MB / 478.1 MB Notification: Performance of pre-optimization done (n=163): time 4.688e-06/0.7651, allocations: 3.984 kB / 0.6489 GB, free: 8.461 MB / 478.1 MB Notification: Performance of matching and sorting (n=250): time 0.1148/0.8799, allocations: 33.39 MB / 0.6815 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.8801, allocations: 0.4889 MB / 0.682 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/0.883, allocations: 2.277 MB / 0.6842 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.8833, allocations: 81.69 kB / 0.6843 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.8843, allocations: 1.433 MB / 0.6857 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006483/0.885, allocations: 0.8213 MB / 0.6865 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.8852, allocations: 48 kB / 0.6865 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8853, allocations: 394.7 kB / 0.6869 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004641/0.8899, allocations: 1.921 MB / 0.6888 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004512/0.8945, allocations: 2.214 MB / 0.6909 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00445/0.8989, allocations: 2.132 MB / 0.693 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.899, allocations: 0 / 0.693 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01405/0.913, allocations: 6.165 MB / 0.699 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007856/0.9138, allocations: 2.449 MB / 0.7014 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.9138, allocations: 8 kB / 0.7014 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005883/0.9197, allocations: 1.853 MB / 0.7033 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/0.9226, allocations: 0.5852 MB / 0.7038 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02166/0.9443, allocations: 14.82 MB / 0.7183 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005448/0.9498, allocations: 407.5 kB / 0.7187 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/0.9502, allocations: 91.92 kB / 0.7188 GB, free: 15.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.9502, allocations: 4 kB / 0.7188 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0131/0.9633, allocations: 5.749 MB / 0.7244 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.9634, allocations: 8.344 kB / 0.7244 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004642/0.968, allocations: 1.816 MB / 0.7262 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/0.9707, allocations: 0.6133 MB / 0.7268 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/0.9894, allocations: 14.05 MB / 0.7405 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/0.9933, allocations: 407.6 kB / 0.7409 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.9935, allocations: 87.98 kB / 0.741 GB, free: 8.797 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001513/0.995, allocations: 0.7846 MB / 0.7417 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/0.9955, allocations: 332 kB / 0.742 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.9962, allocations: 394.3 kB / 0.7424 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.9962, allocations: 24 kB / 0.7424 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.271e-05/0.9962, allocations: 16 kB / 0.7425 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.9962, allocations: 11.95 kB / 0.7425 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003911/1, allocations: 3.168 MB / 0.7456 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1, allocations: 0 / 0.7456 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.003, allocations: 0.515 MB / 0.7461 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005234/1.008, allocations: 1.711 MB / 0.7477 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/1.008, allocations: 51.97 kB / 0.7478 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/1.027, allocations: 14.6 MB / 0.762 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.027, allocations: 0 / 0.762 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/1.041, allocations: 5.781 MB / 0.7677 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.043, allocations: 0.6648 MB / 0.7683 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/1.043, allocations: 44 kB / 0.7684 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002696/1.046, allocations: 407.5 kB / 0.7688 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007165/1.046, allocations: 306.6 kB / 0.7691 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/1.047, allocations: 75.97 kB / 0.7691 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001843/1.048, allocations: 1.505 MB / 0.7706 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.048, allocations: 0 / 0.7706 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003338/1.052, allocations: 1.621 MB / 0.7722 GB, free: 8.465 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.01332/1.065, allocations: 6.42 MB / 0.7785 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02087/1.086, allocations: 10.07 MB / 0.7883 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.086, allocations: 4 kB / 0.7883 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007403/1.093, allocations: 3.483 MB / 0.7917 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/1.097, allocations: 1.006 MB / 0.7927 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04364/1.141, allocations: 29.35 MB / 0.8213 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/1.143, allocations: 2.371 MB / 0.8237 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002601/1.145, allocations: 0.6326 MB / 0.8243 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/1.147, allocations: 1.335 MB / 0.8256 GB, free: 28 kB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/1.147, allocations: 0 / 0.8256 GB, free: 28 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.765/4.912, allocations: 100.4 MB / 0.9236 GB, free: 146.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/4.912, allocations: 203.8 kB / 0.9238 GB, free: 146.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.268/10.18, allocations: 4 kB / 0.9238 GB, free: 146.2 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLines.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) Environment - environmentSimulation: