Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",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.001344/0.001344, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001332/0.001332, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.85/0.85, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003167/0.003167, allocations: 67 kB / 0.5735 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2202, allocations: 78.86 MB / 0.6505 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005018/0.2253, allocations: 3.058 MB / 0.6535 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.2285, allocations: 1.913 MB / 0.6554 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.2286, allocations: 4 kB / 0.6554 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009049/0.2295, allocations: 290.8 kB / 0.6557 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.23, allocations: 191.1 kB / 0.6558 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.2306, allocations: 250.1 kB / 0.6561 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.231, allocations: 318.9 kB / 0.6564 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.2314, allocations: 185 kB / 0.6566 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.2315, allocations: 127.5 kB / 0.6567 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.2319, allocations: 151.4 kB / 0.6568 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.2319, allocations: 20 kB / 0.6569 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006342/0.2326, allocations: 403.2 kB / 0.6572 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.2327, allocations: 87.78 kB / 0.6573 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.2328, allocations: 115.4 kB / 0.6574 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006527/0.2335, allocations: 490.3 kB / 0.6579 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2335, allocations: 7.984 kB / 0.6579 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2335, allocations: 0 / 0.6579 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2335, allocations: 0 / 0.6579 GB, free: 12.04 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008903/0.2344, allocations: 0.5723 MB / 0.6585 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2344, allocations: 8.031 kB / 0.6585 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.427e-05/0.2345, allocations: 54.73 kB / 0.6585 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008074/0.2353, allocations: 112.7 kB / 0.6586 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.2357, allocations: 275.3 kB / 0.6589 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.2357, allocations: 16.81 kB / 0.6589 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.2358, allocations: 16.38 kB / 0.6589 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.2363, allocations: 361 kB / 0.6593 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2364, allocations: 0 / 0.6593 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.2364, allocations: 8 kB / 0.6593 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-05/0.2365, allocations: 28.41 kB / 0.6593 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.2369, allocations: 289.5 kB / 0.6596 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.2392, allocations: 1.745 MB / 0.6613 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.2397, allocations: 318.2 kB / 0.6616 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.2399, allocations: 109.8 kB / 0.6617 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.24, allocations: 89.09 kB / 0.6618 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.2401, allocations: 42.5 kB / 0.6618 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 3.807e-06/0.2401, allocations: 0 / 0.6618 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.002551/0.2426, allocations: 0.9704 MB / 0.6628 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.2427, allocations: 89.08 kB / 0.6629 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.243, allocations: 219.7 kB / 0.6631 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.243, allocations: 25.7 kB / 0.6631 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.2431, allocations: 168.5 kB / 0.6632 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.2432, allocations: 87.33 kB / 0.6633 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.2433, allocations: 65.73 kB / 0.6634 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2435, allocations: 330.8 kB / 0.6637 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.2437, allocations: 131.9 kB / 0.6638 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.244, allocations: 214.4 kB / 0.664 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.2445, allocations: 361.2 kB / 0.6644 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2445, allocations: 4 kB / 0.6644 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009334/0.2455, allocations: 0.5109 MB / 0.6649 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2455, allocations: 4 kB / 0.6649 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2455, allocations: 8.312 kB / 0.6649 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005256/0.246, allocations: 151.3 kB / 0.665 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.2463, allocations: 55.91 kB / 0.6651 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.2498, allocations: 4.202 MB / 0.6692 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.25, allocations: 15.98 kB / 0.6692 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.2501, allocations: 8 kB / 0.6692 GB, free: 15.58 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.2503, allocations: 177.7 kB / 0.6694 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.2503, allocations: 19.86 kB / 0.6694 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000926/0.2513, allocations: 482.4 kB / 0.6699 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2513, allocations: 4 kB / 0.6699 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2513, allocations: 3.938 kB / 0.6699 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2513, allocations: 0 / 0.6699 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.253, allocations: 0.9977 MB / 0.6709 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.253, allocations: 4 kB / 0.6709 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.2532, allocations: 39.91 kB / 0.6709 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004203/0.2536, allocations: 135.6 kB / 0.671 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.2536, allocations: 8 kB / 0.671 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/0.2574, allocations: 4.159 MB / 0.6751 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.2574, allocations: 4.031 kB / 0.6751 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.2583, allocations: 0.6221 MB / 0.6757 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.2585, allocations: 128.9 kB / 0.6758 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.2585, allocations: 15.94 kB / 0.6758 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.2588, allocations: 19.98 kB / 0.6759 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.2588, allocations: 23.91 kB / 0.6759 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.2589, allocations: 8 kB / 0.6759 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001791/0.259, allocations: 152.2 kB / 0.676 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2591, allocations: 0 / 0.676 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005795/0.2596, allocations: 99.86 kB / 0.6761 GB, free: 7.969 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001293/0.2609, allocations: 1.188 MB / 0.6773 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.262, allocations: 0.5757 MB / 0.6779 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.262, allocations: 0 / 0.6779 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005573/0.2626, allocations: 405.1 kB / 0.6782 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.2631, allocations: 45.78 kB / 0.6783 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.2676, allocations: 3.337 MB / 0.6815 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.2681, allocations: 0.7792 MB / 0.6823 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.2683, allocations: 62.23 kB / 0.6824 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2684, allocations: 67.42 kB / 0.6824 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.2684, allocations: 0 / 0.6824 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.3049, allocations: 6.7 MB / 0.689 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.35, allocations: 9.719 kB / 0.689 GB, free: 10.6 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)