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.0007791/0.0007792, allocations: 92.7 kB / 15.7 MB, free: 472 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.0008838/0.000884, allocations: 172 kB / 16.58 MB, free: 6.848 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.212/1.212, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.628/0.628, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003004, allocations: 8.531 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 77.12 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.002703/0.1299, allocations: 2.646 MB / 0.5595 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1313, allocations: 1.228 MB / 0.5607 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.1314, allocations: 4 kB / 0.5607 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1315, allocations: 39.7 kB / 0.5607 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.1318, allocations: 119.4 kB / 0.5608 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.132, allocations: 99.75 kB / 0.5609 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.1323, allocations: 342.9 kB / 0.5613 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.1326, allocations: 212.2 kB / 0.5615 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.1327, allocations: 103.6 kB / 0.5616 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.1329, allocations: 127.6 kB / 0.5617 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.1329, allocations: 8 kB / 0.5617 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1331, allocations: 83.89 kB / 0.5618 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.1332, allocations: 75.77 kB / 0.5618 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.1332, allocations: 61.58 kB / 0.5619 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1334, allocations: 247.4 kB / 0.5621 GB, free: 6.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1335, allocations: 0 / 0.5621 GB, free: 6.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1335, allocations: 0 / 0.5621 GB, free: 6.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1335, allocations: 0 / 0.5621 GB, free: 6.258 MB / 430.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.0005307/0.134, allocations: 490.8 kB / 0.5626 GB, free: 5.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.134, allocations: 12.02 kB / 0.5626 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.1341, allocations: 58.53 kB / 0.5627 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004826/0.1346, allocations: 75.73 kB / 0.5627 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1348, allocations: 234.7 kB / 0.563 GB, free: 5.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1348, allocations: 16.38 kB / 0.563 GB, free: 5.289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.1349, allocations: 19.95 kB / 0.563 GB, free: 5.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.1352, allocations: 295 kB / 0.5633 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1353, allocations: 7.938 kB / 0.5633 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1353, allocations: 4 kB / 0.5633 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.1353, allocations: 28.36 kB / 0.5633 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.1356, allocations: 189 kB / 0.5635 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.1368, allocations: 1.468 MB / 0.5649 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.137, allocations: 171.7 kB / 0.5651 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.1371, allocations: 36.8 kB / 0.5651 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.1371, allocations: 0 / 0.5651 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.1371, allocations: 42.44 kB / 0.5652 GB, free: 2.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.1371, allocations: 4 kB / 0.5652 GB, free: 2.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003678/0.1375, allocations: 219.4 kB / 0.5654 GB, free: 2.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.1375, allocations: 51.41 kB / 0.5654 GB, free: 2.512 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1377, allocations: 198.4 kB / 0.5656 GB, free: 2.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.1377, allocations: 29.7 kB / 0.5657 GB, free: 2.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.1378, allocations: 163.6 kB / 0.5658 GB, free: 2.109 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.1378, allocations: 27.8 kB / 0.5658 GB, free: 2.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.1378, allocations: 8 kB / 0.5658 GB, free: 2.074 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.1379, allocations: 326.8 kB / 0.5662 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.138, allocations: 35.97 kB / 0.5662 GB, free: 1.711 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.1381, allocations: 92.58 kB / 0.5663 GB, free: 1.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-05/0.1381, allocations: 59.86 kB / 0.5663 GB, free: 1.531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1382, allocations: 3.953 kB / 0.5663 GB, free: 1.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000257/0.1384, allocations: 190.1 kB / 0.5665 GB, free: 1.332 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1384, allocations: 8 kB / 0.5665 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1384, allocations: 3.984 kB / 0.5665 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.1386, allocations: 24.91 kB / 0.5666 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.1387, allocations: 28 kB / 0.5666 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000817/0.1395, allocations: 1.316 MB / 0.5679 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.993e-05/0.1396, allocations: 23.81 kB / 0.5679 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.1396, allocations: 4 kB / 0.5679 GB, free: 15.79 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.1398, allocations: 153.9 kB / 0.568 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.1398, allocations: 15.81 kB / 0.5681 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.1398, allocations: 21.39 kB / 0.5681 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1398, allocations: 0 / 0.5681 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1399, allocations: 4 kB / 0.5681 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1399, allocations: 0 / 0.5681 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.1403, allocations: 443.2 kB / 0.5685 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1403, allocations: 4.094 kB / 0.5685 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.1404, allocations: 11.94 kB / 0.5685 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.705e-05/0.1404, allocations: 20.84 kB / 0.5685 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.1404, allocations: 0 / 0.5685 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008517/0.1413, allocations: 1.319 MB / 0.5698 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1413, allocations: 0 / 0.5698 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.1415, allocations: 220.2 kB / 0.57 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.1416, allocations: 93.14 kB / 0.5701 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1416, allocations: 7.953 kB / 0.5701 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.1417, allocations: 7.984 kB / 0.5701 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.1417, allocations: 0 / 0.5701 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1418, allocations: 4 kB / 0.5701 GB, free: 13.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1419, allocations: 142.2 kB / 0.5703 GB, free: 13.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1419, allocations: 0 / 0.5703 GB, free: 13.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1422, allocations: 55.84 kB / 0.5703 GB, free: 13.05 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004063/0.1426, allocations: 0.745 MB / 0.5711 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002969/0.1429, allocations: 207 kB / 0.5713 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1429, allocations: 8.062 kB / 0.5713 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.1431, allocations: 151.1 kB / 0.5714 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1434, allocations: 30.03 kB / 0.5714 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1446, allocations: 1.031 MB / 0.5724 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1449, allocations: 0.7517 MB / 0.5732 GB, free: 9.977 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.554e-05/0.145, allocations: 25.52 kB / 0.5732 GB, free: 9.949 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.1451, allocations: 51.42 kB / 0.5733 GB, free: 9.898 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1451, allocations: 0 / 0.5733 GB, free: 9.898 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.1579, allocations: 3.342 MB / 0.5765 GB, free: 6.742 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.1582, allocations: 203.3 kB / 0.5767 GB, free: 6.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.773, allocations: 4 kB / 0.5767 GB, free: 6.496 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: