Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.001307/0.001307, allocations: 105.8 kB / 16.27 MB, free: 6.105 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.001108/0.001108, allocations: 186 kB / 17.2 MB, free: 5.719 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.275/1.275, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7243/0.7243, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.12 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3182, allocations: 77.93 MB / 0.5673 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006425/0.3247, allocations: 6.065 MB / 0.5732 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004272/0.329, allocations: 3.141 MB / 0.5763 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000345/0.3293, allocations: 28.12 kB / 0.5763 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.3314, allocations: 0.9374 MB / 0.5772 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008801/0.3322, allocations: 468.7 kB / 0.5777 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.3333, allocations: 497.3 kB / 0.5781 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009945/0.3343, allocations: 1.091 MB / 0.5792 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007791/0.3351, allocations: 0.6402 MB / 0.5798 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005138/0.3356, allocations: 438 kB / 0.5803 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.3361, allocations: 469.8 kB / 0.5807 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.204e-05/0.3362, allocations: 59.66 kB / 0.5808 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007898/0.337, allocations: 493.5 kB / 0.5812 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.3373, allocations: 283.8 kB / 0.5815 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.3375, allocations: 399 kB / 0.5819 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008979/0.3385, allocations: 1.166 MB / 0.583 GB, free: 23.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3385, allocations: 0 / 0.583 GB, free: 23.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3385, allocations: 0 / 0.583 GB, free: 23.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.3385, allocations: 0 / 0.583 GB, free: 23.01 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001221/0.3397, allocations: 1.051 MB / 0.584 GB, free: 22.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3398, allocations: 11.28 kB / 0.5841 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.781e-05/0.3399, allocations: 116.7 kB / 0.5842 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.3412, allocations: 215.5 kB / 0.5844 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.3418, allocations: 0.5359 MB / 0.5849 GB, free: 21.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.3419, allocations: 50.52 kB / 0.5849 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-05/0.342, allocations: 61.5 kB / 0.585 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.3431, allocations: 1.036 MB / 0.586 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.3431, allocations: 14.34 kB / 0.586 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.3432, allocations: 25.53 kB / 0.5861 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.453e-05/0.3433, allocations: 71.11 kB / 0.5861 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008945/0.3442, allocations: 0.6928 MB / 0.5868 GB, free: 20.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.3476, allocations: 5.746 MB / 0.5924 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006718/0.3482, allocations: 0.5984 MB / 0.593 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/0.3489, allocations: 423 kB / 0.5934 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.349, allocations: 7.312 kB / 0.5934 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.349, allocations: 36.84 kB / 0.5934 GB, free: 14.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.784e-06/0.349, allocations: 4 kB / 0.5934 GB, free: 14.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.00374/0.3528, allocations: 2.047 MB / 0.5954 GB, free: 12.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.3528, allocations: 60.31 kB / 0.5955 GB, free: 12.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.3532, allocations: 453.5 kB / 0.5959 GB, free: 12.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.3532, allocations: 35.08 kB / 0.596 GB, free: 12.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.3533, allocations: 393.2 kB / 0.5963 GB, free: 12.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.3534, allocations: 149.6 kB / 0.5965 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.3536, allocations: 121 kB / 0.5966 GB, free: 12.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.3536, allocations: 359 kB / 0.5969 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.354, allocations: 248.5 kB / 0.5972 GB, free: 11.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.3543, allocations: 461 kB / 0.5976 GB, free: 10.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.3549, allocations: 0.7518 MB / 0.5984 GB, free: 10.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3549, allocations: 4 kB / 0.5984 GB, free: 10.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001441/0.3564, allocations: 1.069 MB / 0.5994 GB, free: 9.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3564, allocations: 8 kB / 0.5994 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3564, allocations: 4 kB / 0.5994 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008764/0.3573, allocations: 339.5 kB / 0.5997 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.3576, allocations: 95.83 kB / 0.5998 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/0.3623, allocations: 7.52 MB / 0.6072 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.3627, allocations: 28.02 kB / 0.6072 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.3628, allocations: 28 kB / 0.6072 GB, free: 468 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002289/0.363, allocations: 249.5 kB / 0.6075 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/0.3631, allocations: 55.34 kB / 0.6075 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.3646, allocations: 0.912 MB / 0.6084 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3646, allocations: 4 kB / 0.6084 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.3647, allocations: 8 kB / 0.6084 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3647, allocations: 11.86 kB / 0.6084 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.367, allocations: 1.702 MB / 0.6101 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.367, allocations: 7.875 kB / 0.6101 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.3672, allocations: 40.09 kB / 0.6101 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008717/0.3681, allocations: 339.2 kB / 0.6105 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.3681, allocations: 8 kB / 0.6105 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006236/0.3744, allocations: 7.51 MB / 0.6178 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3744, allocations: 3.938 kB / 0.6178 GB, free: 4.926 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.376, allocations: 1.003 MB / 0.6188 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.3762, allocations: 172.3 kB / 0.6189 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.3763, allocations: 15.98 kB / 0.619 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.3765, allocations: 23.98 kB / 0.619 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/0.3766, allocations: 40.22 kB / 0.619 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.3767, allocations: 8 kB / 0.619 GB, free: 3.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002937/0.377, allocations: 310.8 kB / 0.6193 GB, free: 3.301 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.377, allocations: 3.938 kB / 0.6193 GB, free: 3.297 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007101/0.3777, allocations: 196 kB / 0.6195 GB, free: 3.105 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001767/0.3795, allocations: 1.56 MB / 0.621 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00176/0.3812, allocations: 1.249 MB / 0.6223 GB, free: 188 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3812, allocations: 0 / 0.6223 GB, free: 188 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.3824, allocations: 0.8513 MB / 0.6231 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.3834, allocations: 201.4 kB / 0.6233 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007351/0.3907, allocations: 5.978 MB / 0.6291 GB, free: 8.789 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.3913, allocations: 0.992 MB / 0.6301 GB, free: 7.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002881/0.3916, allocations: 101.3 kB / 0.6302 GB, free: 7.672 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.3918, allocations: 227.4 kB / 0.6304 GB, free: 7.449 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3918, allocations: 0 / 0.6304 GB, free: 7.449 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/0.4309, allocations: 15.16 MB / 0.6452 GB, free: 8.547 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.829/9.26, allocations: 3.984 kB / 0.6452 GB, free: 8.543 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_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_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)