Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",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.001152/0.001152, allocations: 105.2 kB / 16.4 MB, free: 6.504 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.001153/0.001153, allocations: 192 kB / 17.34 MB, free: 5.742 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6752/0.6752, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 67.47 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1318, allocations: 76.17 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004503/0.1364, allocations: 3.056 MB / 0.6345 GB, free: 1.852 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.1385, allocations: 1.328 MB / 0.6358 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.1387, allocations: 4 kB / 0.6358 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.1399, allocations: 342.6 kB / 0.6362 GB, free: 180 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.1403, allocations: 143.3 kB / 0.6363 GB, free: 36 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1407, allocations: 139.6 kB / 0.6364 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.1412, allocations: 299.1 kB / 0.6367 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.1417, allocations: 239 kB / 0.637 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.1418, allocations: 119.5 kB / 0.6371 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.1421, allocations: 143.5 kB / 0.6372 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.1421, allocations: 16 kB / 0.6372 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.1424, allocations: 171.6 kB / 0.6374 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.1426, allocations: 79.8 kB / 0.6375 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1427, allocations: 111.5 kB / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.1431, allocations: 339.7 kB / 0.6379 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1431, allocations: 4 kB / 0.6379 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1431, allocations: 3.984 kB / 0.6379 GB, free: 14.4 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1431, allocations: 0 / 0.6379 GB, free: 14.4 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007322/0.1439, allocations: 0.5069 MB / 0.6384 GB, free: 13.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.759e-05/0.1439, allocations: 11.97 kB / 0.6384 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.1441, allocations: 58.72 kB / 0.6385 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005544/0.1447, allocations: 72.59 kB / 0.6385 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.145, allocations: 247.9 kB / 0.6388 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.145, allocations: 24.67 kB / 0.6388 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.145, allocations: 20.38 kB / 0.6388 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.1454, allocations: 291.1 kB / 0.6391 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1455, allocations: 0 / 0.6391 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.1455, allocations: 15.92 kB / 0.6391 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-05/0.1456, allocations: 20.38 kB / 0.6391 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.1459, allocations: 196.9 kB / 0.6393 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.1473, allocations: 1.46 MB / 0.6407 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.1476, allocations: 171.7 kB / 0.6409 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.1476, allocations: 32.84 kB / 0.6409 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1477, allocations: 4 kB / 0.6409 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1477, allocations: 42.5 kB / 0.641 GB, free: 10.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1477, allocations: 0 / 0.641 GB, free: 10.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004085/0.1481, allocations: 219.4 kB / 0.6412 GB, free: 10.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.1481, allocations: 51.56 kB / 0.6412 GB, free: 10.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1483, allocations: 203.4 kB / 0.6414 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1483, allocations: 29.7 kB / 0.6415 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.1484, allocations: 167.6 kB / 0.6416 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.1485, allocations: 27.64 kB / 0.6416 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.1485, allocations: 33.72 kB / 0.6417 GB, free: 10.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.1486, allocations: 326.8 kB / 0.642 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.1487, allocations: 39.92 kB / 0.642 GB, free: 9.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-05/0.1488, allocations: 105.9 kB / 0.6421 GB, free: 9.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1489, allocations: 148.4 kB / 0.6423 GB, free: 9.469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1489, allocations: 0 / 0.6423 GB, free: 9.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002742/0.1492, allocations: 190.3 kB / 0.6425 GB, free: 9.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1492, allocations: 4 kB / 0.6425 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1492, allocations: 4 kB / 0.6425 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.1494, allocations: 28.84 kB / 0.6425 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-05/0.1495, allocations: 35.92 kB / 0.6425 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.1506, allocations: 1.418 MB / 0.6439 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1507, allocations: 15.84 kB / 0.6439 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1507, allocations: 8.156 kB / 0.6439 GB, free: 7.617 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.1508, allocations: 158.6 kB / 0.6441 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.1508, allocations: 11.81 kB / 0.6441 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.1509, allocations: 17.41 kB / 0.6441 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1509, allocations: 4 kB / 0.6441 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1509, allocations: 0 / 0.6441 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1509, allocations: 0 / 0.6441 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.1513, allocations: 455.1 kB / 0.6445 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1513, allocations: 0 / 0.6445 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.1514, allocations: 4 kB / 0.6445 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-05/0.1515, allocations: 28.83 kB / 0.6446 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1515, allocations: 0 / 0.6446 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008003/0.1523, allocations: 1.414 MB / 0.646 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1523, allocations: 0 / 0.646 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.1525, allocations: 224.6 kB / 0.6462 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.1526, allocations: 96.91 kB / 0.6463 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1526, allocations: 0 / 0.6463 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.1527, allocations: 4 kB / 0.6463 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.1527, allocations: 11.98 kB / 0.6463 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1527, allocations: 0 / 0.6463 GB, free: 4.961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1528, allocations: 144.4 kB / 0.6464 GB, free: 4.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1528, allocations: 0 / 0.6464 GB, free: 4.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1531, allocations: 51.84 kB / 0.6465 GB, free: 4.77 MB / 494.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004058/0.1535, allocations: 0.7482 MB / 0.6472 GB, free: 3.988 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1538, allocations: 214.8 kB / 0.6474 GB, free: 3.766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1539, allocations: 4 kB / 0.6474 GB, free: 3.762 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.154, allocations: 146.7 kB / 0.6475 GB, free: 3.605 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.1543, allocations: 37.73 kB / 0.6476 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1561, allocations: 2.047 MB / 0.6496 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1564, allocations: 0.7551 MB / 0.6503 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.423e-05/0.1565, allocations: 25.53 kB / 0.6503 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.1565, allocations: 55.42 kB / 0.6504 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1566, allocations: 0 / 0.6504 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.1781, allocations: 3.727 MB / 0.654 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/9.029, allocations: 2.5 kB / 0.654 GB, free: 12.92 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)