Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000861/0.0008612, allocations: 183.4 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007107/0.0007107, allocations: 85.23 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002888, allocations: 9.75 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1434, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002203/0.1457, allocations: 2.366 MB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1471, allocations: 1.368 MB / 0.8999 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.231e-05/0.1471, allocations: 7.938 kB / 0.8999 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.1476, allocations: 175.4 kB / 0.9 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.1479, allocations: 155.4 kB / 0.9002 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1481, allocations: 143.8 kB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1483, allocations: 371 kB / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.1486, allocations: 129.5 kB / 0.9008 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1487, allocations: 95.61 kB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1489, allocations: 119.5 kB / 0.901 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1489, allocations: 8 kB / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.1491, allocations: 191.6 kB / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.1491, allocations: 55.86 kB / 0.9012 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.1492, allocations: 87.47 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1494, allocations: 283 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1494, allocations: 8 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1494, allocations: 0 / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1495, allocations: 0 / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005028/0.15, allocations: 463.2 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.15, allocations: 12.03 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.15, allocations: 46.73 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004091/0.1505, allocations: 68.58 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.1506, allocations: 247.8 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1507, allocations: 12.64 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1507, allocations: 12.38 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.1511, allocations: 312.8 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1511, allocations: 3.938 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.1511, allocations: 7.938 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.1512, allocations: 28.27 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.1515, allocations: 268.6 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.1526, allocations: 1.509 MB / 0.9045 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.153, allocations: 265.1 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.1531, allocations: 133.6 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1532, allocations: 4 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.051e-05/0.1532, allocations: 30.56 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.1532, allocations: 7.938 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005792/0.1538, allocations: 354.7 kB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.1538, allocations: 89.17 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.1539, allocations: 171.2 kB / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1539, allocations: 29.7 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.154, allocations: 148 kB / 0.9057 GB, free: 58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.154, allocations: 47.3 kB / 0.9057 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.154, allocations: 25.7 kB / 0.9057 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.743e-05/0.1541, allocations: 326.8 kB / 0.9061 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.1543, allocations: 107.9 kB / 0.9062 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1544, allocations: 174.7 kB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.1548, allocations: 295.7 kB / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1548, allocations: 0 / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004209/0.1552, allocations: 321.9 kB / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.1553, allocations: 141.7 kB / 0.9071 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.1553, allocations: 4 kB / 0.9071 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1553, allocations: 0 / 0.9071 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.1556, allocations: 63.83 kB / 0.9071 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1556, allocations: 4 kB / 0.9071 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.1557, allocations: 39.81 kB / 0.9072 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1558, allocations: 7.984 kB / 0.9072 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.579e-06/0.1558, allocations: 4 kB / 0.9072 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003516/0.1561, allocations: 247.7 kB / 0.9074 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.1561, allocations: 0 / 0.9074 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-06/0.1562, allocations: 4 kB / 0.9074 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.1563, allocations: 59.89 kB / 0.9075 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.1564, allocations: 4 kB / 0.9075 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.1565, allocations: 27.83 kB / 0.9075 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1565, allocations: 4 kB / 0.9075 GB, free: 56.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.74e-05/0.1566, allocations: 229.1 kB / 0.9077 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.1567, allocations: 19.81 kB / 0.9077 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.1571, allocations: 278.9 kB / 0.908 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1571, allocations: 8 kB / 0.908 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1571, allocations: 0 / 0.908 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1571, allocations: 3.984 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.1578, allocations: 0.6965 MB / 0.9087 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1578, allocations: 0 / 0.9087 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.1581, allocations: 51.89 kB / 0.9087 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1581, allocations: 3.984 kB / 0.9087 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1581, allocations: 4 kB / 0.9088 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1581, allocations: 3.938 kB / 0.9088 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1581, allocations: 4 kB / 0.9088 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.1585, allocations: 459 kB / 0.9092 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.1585, allocations: 112.9 kB / 0.9093 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.1586, allocations: 7.906 kB / 0.9093 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.1588, allocations: 27.91 kB / 0.9093 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1588, allocations: 7.984 kB / 0.9093 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1589, allocations: 15.98 kB / 0.9094 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.595e-05/0.1589, allocations: 139.2 kB / 0.9095 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1589, allocations: 3.938 kB / 0.9095 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003647/0.1593, allocations: 75.84 kB / 0.9096 GB, free: 53.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005057/0.1598, allocations: 0.995 MB / 0.9105 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005254/0.1603, allocations: 392.3 kB / 0.9109 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1604, allocations: 0 / 0.9109 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.1605, allocations: 119.8 kB / 0.911 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.1609, allocations: 38.78 kB / 0.9111 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.163, allocations: 2.544 MB / 0.9136 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.1631, allocations: 0.7479 MB / 0.9143 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.1633, allocations: 73.47 kB / 0.9144 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.903e-05/0.1634, allocations: 47.42 kB / 0.9144 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1634, allocations: 0 / 0.9144 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2676/0.431, allocations: 3.814 MB / 0.9181 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.4312, allocations: 226.8 kB / 0.9183 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.437, allocations: 0 / 0.9183 GB, free: 44.73 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)