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.0007929/0.000793, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008037/0.0008037, allocations: 176.5 kB / 16.58 MB, free: 6.852 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.198/1.198, allocations: 223.3 MB / 240.6 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6004/0.6004, allocations: 113.7 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 9.5 kB / 493.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 77.12 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLines): time 0.01863/0.1411, allocations: 20.39 MB / 0.5768 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2629/0.404, allocations: 16.39 MB / 0.5928 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003154/0.4072, allocations: 99.62 kB / 0.5929 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.4094, allocations: 0.5637 MB / 0.5935 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.4207, allocations: 2.861 MB / 0.5963 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006009/0.4268, allocations: 0.96 MB / 0.5972 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01604/0.4429, allocations: 5.767 MB / 0.6028 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007987/0.4509, allocations: 2.023 MB / 0.6048 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008061/0.459, allocations: 1.865 MB / 0.6066 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008452/0.4676, allocations: 2.169 MB / 0.6087 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002627/0.4703, allocations: 168.8 kB / 0.6089 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006527/0.4768, allocations: 0.4887 MB / 0.6094 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004183/0.481, allocations: 0.9196 MB / 0.6103 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004864/0.4859, allocations: 0.6866 MB / 0.6109 GB, free: 7.344 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009413/0.4954, allocations: 3.833 MB / 0.6147 GB, free: 5.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.4954, allocations: 0 / 0.6147 GB, free: 5.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.4955, allocations: 0 / 0.6147 GB, free: 5.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003151/0.4958, allocations: 1.25 kB / 0.6147 GB, free: 5.207 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.0143/0.5101, allocations: 3.877 MB / 0.6185 GB, free: 2.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.5102, allocations: 8.938 kB / 0.6185 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002234/0.5124, allocations: 360.5 kB / 0.6188 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/0.5295, allocations: 3.357 MB / 0.6221 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007405/0.5369, allocations: 1.965 MB / 0.624 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003856/0.5374, allocations: 179.8 kB / 0.6242 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002068/0.5395, allocations: 245.7 kB / 0.6244 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/0.5576, allocations: 4.712 MB / 0.629 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-05/0.5577, allocations: 5.5 kB / 0.629 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007446/0.5585, allocations: 111.9 kB / 0.6291 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002714/0.5588, allocations: 169.4 kB / 0.6293 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.5754, allocations: 5.221 MB / 0.6344 GB, free: 7.496 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03335/0.6088, allocations: 14.11 MB / 0.6482 GB, free: 8.305 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.6211, allocations: 3.846 MB / 0.6519 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004295/0.6255, allocations: 1.509 MB / 0.6534 GB, free: 2.949 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.6257, allocations: 35.84 kB / 0.6535 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005049/0.6308, allocations: 1.808 MB / 0.6552 GB, free: 1.047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=163): time 8.175e-06/0.6309, allocations: 0 / 0.6552 GB, free: 1.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=250): time 0.1167/0.7476, allocations: 33.4 MB / 0.6878 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003522/0.748, allocations: 0.4889 MB / 0.6883 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/0.752, allocations: 2.269 MB / 0.6905 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006093/0.7527, allocations: 77.7 kB / 0.6906 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.7541, allocations: 1.44 MB / 0.692 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008445/0.7549, allocations: 0.815 MB / 0.6928 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.7551, allocations: 48 kB / 0.6929 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.7553, allocations: 398.7 kB / 0.6932 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004159/0.7595, allocations: 1.921 MB / 0.6951 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004263/0.7637, allocations: 2.224 MB / 0.6973 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004143/0.7679, allocations: 2.128 MB / 0.6994 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.7679, allocations: 4 kB / 0.6994 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01333/0.7812, allocations: 6.162 MB / 0.7054 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.7815, allocations: 407.5 kB / 0.7058 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7815, allocations: 8 kB / 0.7058 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005551/0.7871, allocations: 1.844 MB / 0.7076 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/0.7897, allocations: 0.5929 MB / 0.7082 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/0.8097, allocations: 14.15 MB / 0.722 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/0.8133, allocations: 403.6 kB / 0.7224 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/0.8135, allocations: 95.95 kB / 0.7225 GB, free: 11.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.8135, allocations: 4 kB / 0.7225 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01215/0.8257, allocations: 5.749 MB / 0.7281 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.8257, allocations: 4 kB / 0.7281 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004406/0.8301, allocations: 1.825 MB / 0.7299 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/0.8327, allocations: 0.6047 MB / 0.7305 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/0.8511, allocations: 13.43 MB / 0.7436 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/0.8546, allocations: 415.5 kB / 0.744 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.8548, allocations: 87.98 kB / 0.744 GB, free: 4.836 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.001451/0.8563, allocations: 0.7769 MB / 0.7448 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/0.8567, allocations: 332 kB / 0.7451 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007458/0.8575, allocations: 392.1 kB / 0.7455 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.8575, allocations: 24 kB / 0.7455 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.745e-05/0.8576, allocations: 14.08 kB / 0.7455 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.8576, allocations: 15.91 kB / 0.7456 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.8613, allocations: 3.172 MB / 0.7486 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.8614, allocations: 0 / 0.7486 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/0.8636, allocations: 0.519 MB / 0.7492 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0052/0.8688, allocations: 1.711 MB / 0.7508 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/0.869, allocations: 47.98 kB / 0.7509 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/0.8882, allocations: 13.93 MB / 0.7645 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8882, allocations: 4 kB / 0.7645 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/0.9011, allocations: 5.787 MB / 0.7701 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/0.9027, allocations: 0.6577 MB / 0.7708 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004543/0.9032, allocations: 49.7 kB / 0.7708 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/0.9056, allocations: 403.5 kB / 0.7712 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007575/0.9064, allocations: 314.6 kB / 0.7715 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.9066, allocations: 67.97 kB / 0.7716 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001961/0.9085, allocations: 1.509 MB / 0.773 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9085, allocations: 7.938 kB / 0.7731 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003692/0.9122, allocations: 1.621 MB / 0.7746 GB, free: 5.16 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.01308/0.9253, allocations: 6.404 MB / 0.7809 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01994/0.9453, allocations: 10.08 MB / 0.7907 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.9454, allocations: 4 kB / 0.7907 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007219/0.9526, allocations: 3.488 MB / 0.7941 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/0.9569, allocations: 1.045 MB / 0.7952 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04719/1.004, allocations: 25.99 MB / 0.8205 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/1.006, allocations: 2.301 MB / 0.8228 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002871/1.009, allocations: 0.627 MB / 0.8234 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/1.011, allocations: 1.335 MB / 0.8247 GB, free: 152 kB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/1.011, allocations: 0 / 0.8247 GB, free: 152 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3764/1.387, allocations: 100.4 MB / 0.9228 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001237/1.387, allocations: 208.8 kB / 0.923 GB, free: 146.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.973/5.36, allocations: 4 kB / 0.923 GB, free: 146.4 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: