Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.001248/0.001248, allocations: 108.4 kB / 16.41 MB, free: 6.445 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.00127/0.00127, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.385/1.385, allocations: 222.9 MB / 241.1 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.8179/0.8179, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001884, allocations: 68.62 kB / 0.5735 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1315, allocations: 78.87 MB / 0.6506 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01247/0.144, allocations: 10.89 MB / 0.6612 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01273/0.1567, allocations: 8.788 MB / 0.6698 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009256/0.1577, allocations: 55.69 kB / 0.6698 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.1618, allocations: 1.68 MB / 0.6715 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.1665, allocations: 1.53 MB / 0.673 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.1684, allocations: 0.6692 MB / 0.6736 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003121/0.1715, allocations: 2.278 MB / 0.6758 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.1733, allocations: 1.38 MB / 0.6772 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.1748, allocations: 0.9925 MB / 0.6782 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.1763, allocations: 1.016 MB / 0.6792 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.1766, allocations: 140 kB / 0.6793 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.1781, allocations: 0.7955 MB / 0.6801 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005906/0.1787, allocations: 0.5686 MB / 0.6806 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.1798, allocations: 0.89 MB / 0.6815 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003464/0.1833, allocations: 2.588 MB / 0.684 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1833, allocations: 0 / 0.684 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1833, allocations: 0 / 0.684 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.463e-05/0.1834, allocations: 0 / 0.684 GB, free: 1.227 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005193/0.1886, allocations: 2.062 MB / 0.686 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1886, allocations: 8.625 kB / 0.686 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003568/0.189, allocations: 194.1 kB / 0.6862 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/0.2078, allocations: 2.063 MB / 0.6882 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/0.2109, allocations: 1.217 MB / 0.6894 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/0.211, allocations: 90.64 kB / 0.6895 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.2112, allocations: 119.9 kB / 0.6896 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005974/0.2172, allocations: 2.478 MB / 0.692 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.2173, allocations: 7.938 kB / 0.6921 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.2175, allocations: 55.98 kB / 0.6921 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003716/0.2178, allocations: 126.1 kB / 0.6922 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008196/0.226, allocations: 2.541 MB / 0.6947 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01907/0.2451, allocations: 10.05 MB / 0.7045 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009194/0.2544, allocations: 1.957 MB / 0.7064 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/0.2576, allocations: 0.9699 MB / 0.7074 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.2577, allocations: 4.438 kB / 0.7074 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.2577, allocations: 46.98 kB / 0.7074 GB, free: 8.254 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 2.364e-06/0.2577, allocations: 3.938 kB / 0.7074 GB, free: 8.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=81): time 0.03392/0.2917, allocations: 8.741 MB / 0.716 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.2917, allocations: 64 kB / 0.716 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.2933, allocations: 1.105 MB / 0.7171 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.711e-05/0.2934, allocations: 37.7 kB / 0.7172 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008563/0.2943, allocations: 0.7435 MB / 0.7179 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.2946, allocations: 297.4 kB / 0.7182 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005198/0.2951, allocations: 206.5 kB / 0.7184 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002687/0.2954, allocations: 341.9 kB / 0.7187 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003378/0.2988, allocations: 1.071 MB / 0.7197 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/0.3022, allocations: 1.309 MB / 0.721 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006613/0.3088, allocations: 2.378 MB / 0.7233 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.3088, allocations: 8 kB / 0.7233 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00963/0.3185, allocations: 3.289 MB / 0.7265 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3185, allocations: 8 kB / 0.7266 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.3186, allocations: 16.03 kB / 0.7266 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002885/0.3214, allocations: 0.7871 MB / 0.7273 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.3235, allocations: 407.3 kB / 0.7277 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/0.3415, allocations: 15.93 MB / 0.7433 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.3439, allocations: 291.5 kB / 0.7436 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.3441, allocations: 51.95 kB / 0.7436 GB, free: 1.707 MB / 0.5762 GB 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009233/0.345, allocations: 405.5 kB / 0.744 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.3453, allocations: 151.1 kB / 0.7441 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2737/0.619, allocations: 3.191 MB / 0.7473 GB, free: 86.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.6191, allocations: 12.94 kB / 0.7473 GB, free: 86.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.6191, allocations: 9.906 kB / 0.7473 GB, free: 86.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6191, allocations: 4.656 kB / 0.7473 GB, free: 86.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.6302, allocations: 4.9 MB / 0.7521 GB, free: 86.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/0.6303, allocations: 2.812 kB / 0.7521 GB, free: 86.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.632, allocations: 355.4 kB / 0.7524 GB, free: 86.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002464/0.6345, allocations: 0.6945 MB / 0.7531 GB, free: 85.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.6346, allocations: 31.78 kB / 0.7531 GB, free: 85.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.6466, allocations: 15.54 MB / 0.7683 GB, free: 72.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.6467, allocations: 8.438 kB / 0.7683 GB, free: 72.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007861/0.6545, allocations: 3.051 MB / 0.7713 GB, free: 71.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005563/0.6551, allocations: 393 kB / 0.7717 GB, free: 71.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.6553, allocations: 18.22 kB / 0.7717 GB, free: 71.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.6571, allocations: 292.1 kB / 0.772 GB, free: 71.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.6574, allocations: 80.12 kB / 0.772 GB, free: 71.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/0.6575, allocations: 38.61 kB / 0.7721 GB, free: 71.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009174/0.6585, allocations: 0.7367 MB / 0.7728 GB, free: 71.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6585, allocations: 0 / 0.7728 GB, free: 71.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001312/0.6598, allocations: 446.1 kB / 0.7732 GB, free: 71.32 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.007738/0.6675, allocations: 3.619 MB / 0.7767 GB, free: 69.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007892/0.6754, allocations: 3.631 MB / 0.7803 GB, free: 67.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6755, allocations: 1.281 kB / 0.7803 GB, free: 67.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004372/0.6798, allocations: 2.374 MB / 0.7826 GB, free: 65.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.6819, allocations: 0.5265 MB / 0.7831 GB, free: 65.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/0.7109, allocations: 15.86 MB / 0.7986 GB, free: 52.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007429/0.7117, allocations: 1.384 MB / 0.8 GB, free: 51.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001251/0.713, allocations: 382 kB / 0.8003 GB, free: 50.87 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/0.7136, allocations: 0.5969 MB / 0.8009 GB, free: 50.27 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.7136, allocations: 0 / 0.8009 GB, free: 50.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08623/0.7999, allocations: 41.51 MB / 0.8415 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.03, allocations: 7.547 kB / 0.8415 GB, free: 9.324 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_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.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)